diff options
author | Rich Felker <dalias@aerifal.cx> | 2013-07-31 15:14:06 -0400 |
---|---|---|
committer | Rich Felker <dalias@aerifal.cx> | 2013-07-31 15:14:06 -0400 |
commit | 27593d3a357073cfd24e6b09e207b8c742cd2dd7 (patch) | |
tree | f8cfce047927f5f044cb600e10f36058adc4781e /include/grp.h | |
parent | f8c376da9512c8c8a97781100aa04533740171d4 (diff) | |
download | musl-27593d3a357073cfd24e6b09e207b8c742cd2dd7.tar.gz |
fix theoretical out-of-bound access in dynamic linker
one of the arguments to memcmp may be shorter than the length l-3, and
memcmp is under no obligation not to access past the first byte that
differs. instead use strncmp which conveys the correct semantics. the
performance difference is negligible here and since the code is only
use for shared libc, both functions are already linked anyway.
Diffstat (limited to 'include/grp.h')
0 files changed, 0 insertions, 0 deletions