diff options
author | 2017-02-01 16:21:12 +0000 | |
---|---|---|
committer | 2017-02-01 16:21:12 +0000 | |
commit | 2e500a362e7a774789d67b799848c709129f3aa1 (patch) | |
tree | f500a55ac0062695d5b80755317703a522d2e2da /lib/libc/stdlib/malloc.c | |
parent | Add AMRR support to rtwn(4). Based on code from FreeBSD. (diff) | |
download | wireguard-openbsd-2e500a362e7a774789d67b799848c709129f3aa1.tar.xz wireguard-openbsd-2e500a362e7a774789d67b799848c709129f3aa1.zip |
Don't allocate the buffer for the -n flag in one call.
Fixes an ENOMEM with an extremely large -n value and a small input.
Issue reported by Soner Tari
OK stsp@
Diffstat (limited to 'lib/libc/stdlib/malloc.c')
0 files changed, 0 insertions, 0 deletions