about summary refs log tree commit diff
path: root/src/passwd/getgr_r.c
Commit message (Collapse)AuthorAgeFilesLines
* fix off-by-one error in getgrnam_r and getgrgid_r, clobbering gr_nameRich Felker2013-09-291-2/+2
| | | | | | | 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.
* more close-on-exec fixes, mostly using new "e" flag to fopenRich Felker2012-09-291-1/+1
|
* make passwd/group functions safe against cancellation in stdioRich Felker2012-02-011-1/+10
| | | | these changes are a prerequisite to making stdio cancellable.
* it's called getgrgid_r, not getgruid_r...Rich Felker2011-06-081-1/+1
|
* initial check-in, version 0.5.0 v0.5.0Rich Felker2011-02-121-0/+53