summaryrefslogtreecommitdiff
path: root/src/lib/libcrypto
diff options
context:
space:
mode:
authortedu <>2015-12-09 02:45:23 +0000
committertedu <>2015-12-09 02:45:23 +0000
commit26ccd614b42fd7f690774eaed50c06d0e092e82f (patch)
tree4f931f5fb5fe2e7c1f9ded575084b26eb2f3bf07 /src/lib/libcrypto
parent5638e7dd012357d2642fc03c1e21bc8cf6d99a75 (diff)
downloadopenbsd-26ccd614b42fd7f690774eaed50c06d0e092e82f.tar.gz
openbsd-26ccd614b42fd7f690774eaed50c06d0e092e82f.tar.bz2
openbsd-26ccd614b42fd7f690774eaed50c06d0e092e82f.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 'src/lib/libcrypto')
0 files changed, 0 insertions, 0 deletions