summaryrefslogtreecommitdiffstats
path: root/lib/libc/regex/regexec.c
diff options
context:
space:
mode:
authordoug <doug@openbsd.org>2014-10-11 04:06:05 +0000
committerdoug <doug@openbsd.org>2014-10-11 04:06:05 +0000
commit6895fd506adcde492d1eb40e5c321f99956f3c35 (patch)
tree195f273f188c24f0e4352872254b04b7ca458167 /lib/libc/regex/regexec.c
parentuse reallocarray, and avoid this << 1 ugliness. (diff)
downloadwireguard-openbsd-6895fd506adcde492d1eb40e5c321f99956f3c35.tar.xz
wireguard-openbsd-6895fd506adcde492d1eb40e5c321f99956f3c35.zip
Userland reallocarray() audit.
Avoid potential integer overflow in the size argument of malloc() and realloc() by using reallocarray() to avoid unchecked multiplication. ok deraadt@
Diffstat (limited to 'lib/libc/regex/regexec.c')
0 files changed, 0 insertions, 0 deletions