diff options
author | Szabolcs Nagy <nsz@port70.net> | 2015-12-05 21:04:18 +0100 |
---|---|---|
committer | Rich Felker <dalias@aerifal.cx> | 2015-12-08 18:52:38 -0500 |
commit | bc9744763afe72d626e7b9f461001d425582fe9c (patch) | |
tree | cdb68eaf09ef84a13873ff2131a399d0a43ac4ef /src/search/hsearch.c | |
parent | e4f9d811684011d8a67e363827de39d5f2d3ae5a (diff) | |
download | musl-bc9744763afe72d626e7b9f461001d425582fe9c.tar.gz musl-bc9744763afe72d626e7b9f461001d425582fe9c.tar.xz musl-bc9744763afe72d626e7b9f461001d425582fe9c.zip |
fix tsearch to avoid crash on oom
malloc failure was not properly propagated in the insertion method which led to null pointer dereference.
Diffstat (limited to 'src/search/hsearch.c')
0 files changed, 0 insertions, 0 deletions