diff options
author | oshogbo <oshogbo@FreeBSD.org> | 2015-08-11 17:54:51 +0000 |
---|---|---|
committer | oshogbo <oshogbo@FreeBSD.org> | 2015-08-11 17:54:51 +0000 |
commit | 7ad07c63652bfc184ad44015e734dcfc719822c2 (patch) | |
tree | 3fc29c9f705381de45f922aedac63af22dbfc909 /contrib/netbsd-tests/lib/libc/stdlib/h_atexit.c | |
parent | 96cc308aa82efa87c3753c06f1039a9c921dccd3 (diff) | |
download | FreeBSD-src-7ad07c63652bfc184ad44015e734dcfc719822c2.zip FreeBSD-src-7ad07c63652bfc184ad44015e734dcfc719822c2.tar.gz |
Don't set parent if the unpack operation fail. In some
case this could crash the library, because of the NULL pointer references.
Discovered thanks to american fuzzy lop.
Approved by: pjd (mentor)
Diffstat (limited to 'contrib/netbsd-tests/lib/libc/stdlib/h_atexit.c')
0 files changed, 0 insertions, 0 deletions