diff options
author | 2018-03-05 16:57:37 +0000 | |
---|---|---|
committer | 2018-03-05 16:57:37 +0000 | |
commit | 0e0db0d671aa479175916f1297ef4d5d78d0e8fa (patch) | |
tree | 46d54d6b2c0b6e2c344cf61d59dfd47d680c378d /lib/libc/stdlib/malloc.c | |
parent | Add fatal() and fatalx() and put them to use. (diff) | |
download | wireguard-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