| Commit message (Expand) | Author | Age | Files | Lines |
| * | halt getspnam[_r] search on error accessing TCB shadow•••fallback to /etc/shadow should happen only when the entry is not found
in the TCB shadow. otherwise transient errors or permission errors can
cause inconsistent results.
| Rich Felker | 2018-12-28 | 1 | -0/+2 |
| * | don't set errno or return an error when getspnam[_r] finds no entry•••this case is specified as success with a null result, rather than an
error, and errno is not to be set on success.
| Rich Felker | 2018-12-28 | 1 | -2/+7 |
| * | fix regression in getspnam[_r] error code for insufficient buffer size•••commit 2d7d05f031e014068a61d3076c6178513395d2ae wrongly changed ERANGE
to EINVAL, likely as the result of copy-and-paste error.
| Rich Felker | 2017-06-21 | 1 | -1/+1 |
| * | set errno when getpw*_r, getgr*_r, and getspnam_r fail•••these functions return an error code, and are not explicitly
documented to set errno, but they are nonstandard and the historical
implementations do set errno as well, and some applications expect
this behavior. do likewise for compatibility.
patch by Rudolph Pereira.
| Rich Felker | 2017-06-15 | 1 | -3/+5 |
| * | fix erroneous return of partial username matches by getspnam[_r]•••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.
| Rich Felker | 2015-01-21 | 1 | -1/+1 |
| * | shadow: Move spent parsing to internal function | Michael Forney | 2013-11-24 | 1 | -30/+39 |
| * | more close-on-exec fixes, mostly using new "e" flag to fopen | Rich Felker | 2012-09-29 | 1 | -2/+2 |
| * | protect against/handle cancellation reading shadow passwords | Rich Felker | 2011-09-21 | 1 | -1/+11 |
| * | shadow password fixes: empty fields should read as -1 not 0 | Rich Felker | 2011-04-20 | 1 | -7/+13 |
| * | guard against hard links to non-ordinary-files when reading tcb shadow | Rich Felker | 2011-02-14 | 1 | -2/+4 |
| * | initial check-in, version 0.5.0 | Rich Felker | 2011-02-12 | 1 | -0/+89 |