diff options
author | Ted Unangst <tedu@cvs.openbsd.org> | 2015-12-09 02:45:24 +0000 |
---|---|---|
committer | Ted Unangst <tedu@cvs.openbsd.org> | 2015-12-09 02:45:24 +0000 |
commit | 9be3316e1891b75e30eb2a619ce99010f78f04f6 (patch) | |
tree | a61b60089f6ef3295b6007faab61026a12c1ccf8 /sys/net | |
parent | 5ade48d86075dbce3d9cf3cdd371e5f642aaf5ce (diff) |
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')
0 files changed, 0 insertions, 0 deletions