about summary refs log tree commit diff
path: root/src/linux/sendfile.c
diff options
context:
space:
mode:
authorRich Felker <dalias@aerifal.cx>2015-05-18 12:11:25 -0400
committerRich Felker <dalias@aerifal.cx>2015-05-18 12:11:25 -0400
commit43e9f652bf4b2195b04fc14c93db591b30a7b790 (patch)
tree79f073c7a81c52714ca45d1972ee3c62d0477bb9 /src/linux/sendfile.c
parent68630b55c0c7219fe9df70dc28ffbf9efc8021d8 (diff)
downloadmusl-43e9f652bf4b2195b04fc14c93db591b30a7b790.tar.gz
musl-43e9f652bf4b2195b04fc14c93db591b30a7b790.tar.xz
musl-43e9f652bf4b2195b04fc14c93db591b30a7b790.zip
fix null pointer dereference in dcngettext under specific conditions
if setlocale has not been called, the current locale's messages_name
may be a null pointer. the code path where it's assumed to be non-null
was only reachable if bindtextdomain had already been called, which is
normally not done in programs which do not call setlocale, so the
omitted check went unnoticed.

patch from Void Linux, with description rewritten.
Diffstat (limited to 'src/linux/sendfile.c')
0 files changed, 0 insertions, 0 deletions