#
fc5a96c9 |
|
22-Feb-2015 |
Rich Felker <dalias@aerifal.cx> |
fix crashes in refactored passwd/group code the wrong condition was used in determining the presence of a result that needs space/copying for the _r functions. a zero return value does not necessarily mean success; it can also be a non-error negative result: no such user/group.
|
#
7c5f0a52 |
|
07-Feb-2015 |
Josiah Worcester <josiahw@gmail.com> |
refactor group file access code this allows getgrnam and getgrgid to share code with the _r versions in preparation for alternate backend support.
|
#
23b8e3bc |
|
29-Sep-2013 |
Rich Felker <dalias@aerifal.cx> |
fix off-by-one error in getgrnam_r and getgrgid_r, clobbering gr_name bug report and patch by Michael Forney. the terminating null pointer at the end of the gr_mem array was overwriting the beginning of the string data, causing the gr_name member to always be a zero-length string.
|
#
d712dd39 |
|
29-Sep-2012 |
Rich Felker <dalias@aerifal.cx> |
more close-on-exec fixes, mostly using new "e" flag to fopen
|
#
4948a24d |
|
01-Feb-2012 |
Rich Felker <dalias@aerifal.cx> |
make passwd/group functions safe against cancellation in stdio these changes are a prerequisite to making stdio cancellable.
|
#
c19a6be5 |
|
08-Jun-2011 |
Rich Felker <dalias@aerifal.cx> |
it's called getgrgid_r, not getgruid_r...
|
#
0b44a031 |
|
11-Feb-2011 |
Rich Felker <dalias@aerifal.cx> |
initial check-in, version 0.5.0
|