summaryrefslogtreecommitdiff
path: root/src/lib/libcrypto/buffer
diff options
context:
space:
mode:
authorotto <>2017-04-22 09:12:49 +0000
committerotto <>2017-04-22 09:12:49 +0000
commitcded78bcd288a1fdda72b40342e3b382b3413370 (patch)
tree9a21060563d63e7d6a5ea6292606aec1214fa90c /src/lib/libcrypto/buffer
parent818828f96a0a6686b27756ca3019ad13445d6c1a (diff)
downloadopenbsd-cded78bcd288a1fdda72b40342e3b382b3413370.tar.gz
openbsd-cded78bcd288a1fdda72b40342e3b382b3413370.tar.bz2
openbsd-cded78bcd288a1fdda72b40342e3b382b3413370.zip
For small allocations (chunk) freezero only validates the given
size if canaries are enabled. In that case we have the exact requested size of the allocation. But we can at least check the given size against the chunk size if C is not enabled. Plus add some braces so my brain doesn't have to scan for dangling else problems when I see this code.
Diffstat (limited to 'src/lib/libcrypto/buffer')
0 files changed, 0 insertions, 0 deletions