summaryrefslogtreecommitdiff
path: root/usr.bin/dc
diff options
context:
space:
mode:
authorOtto Moerbeek <otto@cvs.openbsd.org>2017-04-22 09:12:50 +0000
committerOtto Moerbeek <otto@cvs.openbsd.org>2017-04-22 09:12:50 +0000
commit61be04363b84fafcbfe17c4d58547b1ca814e2c7 (patch)
treed6fdafb4c728ceee7b28b548d02db6c89dd6bc7e /usr.bin/dc
parentc6049a4914a501d83cb431b03c6336a50cded0ea (diff)
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 'usr.bin/dc')
0 files changed, 0 insertions, 0 deletions