diff options
author | 2000-09-07 17:56:39 +0000 | |
---|---|---|
committer | 2000-09-07 17:56:39 +0000 | |
commit | 032409e37be57fe74f8eed47b8e36ea6117e199c (patch) | |
tree | cccd587eb2cfa85898941751a6ec256d994a6d22 /lib/libc | |
parent | common/compat_util.c (diff) | |
download | wireguard-openbsd-032409e37be57fe74f8eed47b8e36ea6117e199c.tar.xz wireguard-openbsd-032409e37be57fe74f8eed47b8e36ea6117e199c.zip |
Add bounds checking to stackgap_alloc and return NULL if space cant be
given. Make emul_find() check for this situation as well.
Changes based partly on FreeBSD and NetBSD changes.
aaron@ ok
Diffstat (limited to 'lib/libc')
0 files changed, 0 insertions, 0 deletions