summaryrefslogtreecommitdiffstats
path: root/sys
diff options
context:
space:
mode:
authorotto <otto@openbsd.org>2017-03-06 18:44:21 +0000
committerotto <otto@openbsd.org>2017-03-06 18:44:21 +0000
commit3f0eb563136eb507c769562c93646288721f7ea4 (patch)
tree1089d5e6aab7b62d086ce59de52f0ba17567760f /sys
parentsize is unsigned so using ==0 not <=0 when checking for buffer exhaustion (diff)
downloadwireguard-openbsd-3f0eb563136eb507c769562c93646288721f7ea4.tar.xz
wireguard-openbsd-3f0eb563136eb507c769562c93646288721f7ea4.zip
Introducing recallocarray(3), a blend of calloc(3) and reallocarray(3)
with the added feature that released memory is cleared. Much input from various developers. ok deraadt@ tom@
Diffstat (limited to 'sys')
0 files changed, 0 insertions, 0 deletions