summaryrefslogtreecommitdiff
path: root/src/lib/libcrypto/crypto
diff options
context:
space:
mode:
authordoug <>2015-06-18 23:25:07 +0000
committerdoug <>2015-06-18 23:25:07 +0000
commit815c9ed0143713859a67f4501a0f3698f19d25a3 (patch)
tree314dd2edc85273d817a178bbad4befe656708fd0 /src/lib/libcrypto/crypto
parent0c8481527354cd5324e6b474cbd1cbe8e36ef4e2 (diff)
downloadopenbsd-815c9ed0143713859a67f4501a0f3698f19d25a3.tar.gz
openbsd-815c9ed0143713859a67f4501a0f3698f19d25a3.tar.bz2
openbsd-815c9ed0143713859a67f4501a0f3698f19d25a3.zip
Extend the input types for CBB_add_*() to help catch bugs.
While the previous types were correct, they can silently accept bad data via truncation or signed conversion. We now take size_t as input for CBB_add_u*() and do a range check. discussed with deraadt@ input + ok jsing@ miod@
Diffstat (limited to 'src/lib/libcrypto/crypto')
0 files changed, 0 insertions, 0 deletions