summaryrefslogtreecommitdiffstats
path: root/usr.sbin/syspatch
diff options
context:
space:
mode:
authorjca <jca@openbsd.org>2017-08-15 17:57:57 +0000
committerjca <jca@openbsd.org>2017-08-15 17:57:57 +0000
commit526c36bd412f9217de682beefaada749b201d675 (patch)
tree4c27838875de015bb273c8b5167ec590a30895f6 /usr.sbin/syspatch
parentConvert hand rolled sockaddr checks to the nam2sin functions. (diff)
downloadwireguard-openbsd-526c36bd412f9217de682beefaada749b201d675.tar.xz
wireguard-openbsd-526c36bd412f9217de682beefaada749b201d675.zip
Remove expensive pointer check in afree()
The check added in rev 1.8 walks the whole freelist to catch cases where an unknown pointer is passed to afree(); but it can't catch cases whether the struct link has been corrupted by an invalid memory write. And it becomes very expensive when you have lots of items in an area (for example with a huge HISTSIZE). Discussed with & ok millert@ tb@
Diffstat (limited to 'usr.sbin/syspatch')
0 files changed, 0 insertions, 0 deletions