about summary refs log tree commit diff
path: root/src/string/strncmp.c
diff options
context:
space:
mode:
authorRich Felker <dalias@aerifal.cx>2014-07-11 00:29:44 -0400
committerRich Felker <dalias@aerifal.cx>2014-07-11 00:29:44 -0400
commit59549313d85fa9a0168ff8164cfe734255585f46 (patch)
tree32e5601edb10b897827a5f4edbb7ff6dee13cd26 /src/string/strncmp.c
parent349381aa8c0fc385e54e1068dd5f2b27af55cd12 (diff)
downloadmusl-59549313d85fa9a0168ff8164cfe734255585f46.tar.gz
musl-59549313d85fa9a0168ff8164cfe734255585f46.tar.xz
musl-59549313d85fa9a0168ff8164cfe734255585f46.zip
explicitly reject empty names in dynamic linker load_library function
previously passing an empty string for name resulted in failure, as
expected, but only after spurious syscalls, and it produced confusing
errno values (and thus dlerror strings).

in addition to dlopen calls, this issue affected use of LD_PRELOAD
with trailing whitespace or colon characters.
Diffstat (limited to 'src/string/strncmp.c')
0 files changed, 0 insertions, 0 deletions