summaryrefslogtreecommitdiff
path: root/src/passwd/getspnam_r.c
AgeCommit message (Collapse)AuthorLines
2015-01-21fix erroneous return of partial username matches by getspnam[_r]Rich Felker-1/+1
when using /etc/shadow (rather than tcb) as its backend, getspnam_r matched any username starting with the caller-provided string rather than requiring an exact match. in practice this seems to have affected only systems where one valid username is a prefix for another valid username, and where the longer username appears first in the shadow file.
2013-11-24shadow: Move spent parsing to internal functionMichael Forney-30/+39
2012-09-29more close-on-exec fixes, mostly using new "e" flag to fopenRich Felker-2/+2
2011-09-21protect against/handle cancellation reading shadow passwordsRich Felker-1/+11
2011-04-20shadow password fixes: empty fields should read as -1 not 0Rich Felker-7/+13
2011-02-14guard against hard links to non-ordinary-files when reading tcb shadowRich Felker-2/+4
2011-02-12initial check-in, version 0.5.0v0.5.0Rich Felker-0/+89