summaryrefslogtreecommitdiffstats
path: root/lib/libc/stdlib/malloc.c
diff options
context:
space:
mode:
authorcheloha <cheloha@openbsd.org>2018-03-05 16:57:37 +0000
committercheloha <cheloha@openbsd.org>2018-03-05 16:57:37 +0000
commit0e0db0d671aa479175916f1297ef4d5d78d0e8fa (patch)
tree46d54d6b2c0b6e2c344cf61d59dfd47d680c378d /lib/libc/stdlib/malloc.c
parentAdd fatal() and fatalx() and put them to use. (diff)
downloadwireguard-openbsd-0e0db0d671aa479175916f1297ef4d5d78d0e8fa.tar.xz
wireguard-openbsd-0e0db0d671aa479175916f1297ef4d5d78d0e8fa.zip
Stricter checking for skip1 and skip2.
As we do elsewhere in the tree, make sure we (a) got a number at all, (b) that it doesn't have non-digits dangling off the end, (c) that it's positive, and (d) that it didn't overflow. ok tb@
Diffstat (limited to 'lib/libc/stdlib/malloc.c')
0 files changed, 0 insertions, 0 deletions