diff options
author | Rich Felker <dalias@aerifal.cx> | 2015-01-21 14:26:05 -0500 |
---|---|---|
committer | Rich Felker <dalias@aerifal.cx> | 2015-03-30 01:41:34 -0400 |
commit | 26049588946f9439359697a1effa68ea7b711e18 (patch) | |
tree | d8d6082dcb4336d3048f32117fbfa7e9bd25f762 /include/cpio.h | |
parent | 5087ba67af3bef48ef8872e1b2ffda04623fc65b (diff) | |
download | musl-26049588946f9439359697a1effa68ea7b711e18.tar.gz musl-26049588946f9439359697a1effa68ea7b711e18.tar.xz musl-26049588946f9439359697a1effa68ea7b711e18.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. (cherry picked from commit ecb608192a48d3688e1a0a21027bfd968d3301a1)
Diffstat (limited to 'include/cpio.h')
0 files changed, 0 insertions, 0 deletions