summaryrefslogtreecommitdiffstats
path: root/lib/libc/stdlib/malloc.c
diff options
context:
space:
mode:
authorschwarze <schwarze@openbsd.org>2014-08-17 22:06:49 +0000
committerschwarze <schwarze@openbsd.org>2014-08-17 22:06:49 +0000
commit137747f72fc989c3274512477dc735fd0b9c5b3a (patch)
treee5d82b0b9ffd6f89d01c582fc25e653ba51185f4 /lib/libc/stdlib/malloc.c
parenttypo; Steven Honeyman <stevenhoneyman at gmail dot com> (diff)
downloadwireguard-openbsd-137747f72fc989c3274512477dc735fd0b9c5b3a.tar.xz
wireguard-openbsd-137747f72fc989c3274512477dc735fd0b9c5b3a.zip
While all current callers pass valid data to ascii_hspan() only,
it's safer to assume incoming enum data might be invalid and catch it instead of happily returning an unitialized int. No functional change right now.
Diffstat (limited to 'lib/libc/stdlib/malloc.c')
0 files changed, 0 insertions, 0 deletions