diff options
author | 2017-02-18 20:29:38 +0000 | |
---|---|---|
committer | 2017-02-18 20:29:38 +0000 | |
commit | c7bc160c9c4692cee0394c9ccd5d69b42c469524 (patch) | |
tree | a9cdaaa87061a36b23652bf7e759593802dcab9f /lib/libc | |
parent | Add EDNS0 support. (diff) | |
download | wireguard-openbsd-c7bc160c9c4692cee0394c9ccd5d69b42c469524.tar.xz wireguard-openbsd-c7bc160c9c4692cee0394c9ccd5d69b42c469524.zip |
Add NULL tests to wrterror() to avoid a NULL deref when called from
malloc initialization or a free() error path.
Prompted by libc's malloc.c rev 1.214; with correction from jsg@ and otto@
ok jsg@ krw@
Diffstat (limited to 'lib/libc')
0 files changed, 0 insertions, 0 deletions