summaryrefslogtreecommitdiffstats
path: root/sys/net/route.c
diff options
context:
space:
mode:
authortedu <tedu@openbsd.org>2015-12-09 02:45:23 +0000
committertedu <tedu@openbsd.org>2015-12-09 02:45:23 +0000
commit9545b26b0c679a3b3b14180af131c31eaf6c295a (patch)
treec7d0f49c19c224f3eaabb60d90bed2a27043a5a0 /sys/net/route.c
parentsuccessful vmm enter/leave does not need to be reported (diff)
downloadwireguard-openbsd-9545b26b0c679a3b3b14180af131c31eaf6c295a.tar.xz
wireguard-openbsd-9545b26b0c679a3b3b14180af131c31eaf6c295a.zip
Integrate two patches originally from Daniel Micay.
1. Optionally add random "canaries" to the end of an allocation. This requires increasing the internal size of the allocation slightly, which probably results in a large effective increase with current power of two sizing. Therefore, this option is only enabled via 'C'. 2. When writing junk (0xdf) to freed chunks (current default behavior), check that the junk is still intact when finally freeing the delayed chunk to catch some potential use after free. This should be pretty cheap so there's no option to control it separately. ok deraadt tb
Diffstat (limited to 'sys/net/route.c')
0 files changed, 0 insertions, 0 deletions