diff options
author | Rich Felker <dalias@aerifal.cx> | 2015-01-21 14:26:05 -0500 |
---|---|---|
committer | Rich Felker <dalias@aerifal.cx> | 2015-01-21 14:26:05 -0500 |
commit | ecb608192a48d3688e1a0a21027bfd968d3301a1 (patch) | |
tree | c56eed67b272ceece3e6787e8bdba1f6aca7df04 /src/string/memchr.c | |
parent | 63cac4e29a61487423f63bed9150aa9aec906823 (diff) | |
download | musl-ecb608192a48d3688e1a0a21027bfd968d3301a1.tar.gz musl-ecb608192a48d3688e1a0a21027bfd968d3301a1.tar.xz musl-ecb608192a48d3688e1a0a21027bfd968d3301a1.zip |
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.
Diffstat (limited to 'src/string/memchr.c')
0 files changed, 0 insertions, 0 deletions