summaryrefslogtreecommitdiffstats
path: root/lib/libc
diff options
context:
space:
mode:
authorguenther <guenther@openbsd.org>2017-02-18 20:29:38 +0000
committerguenther <guenther@openbsd.org>2017-02-18 20:29:38 +0000
commitc7bc160c9c4692cee0394c9ccd5d69b42c469524 (patch)
treea9cdaaa87061a36b23652bf7e759593802dcab9f /lib/libc
parentAdd EDNS0 support. (diff)
downloadwireguard-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