summaryrefslogtreecommitdiff
path: root/src/lib/libcrypto/engine/eng_dyn.c
diff options
context:
space:
mode:
authordoug <>2015-06-18 23:25:07 +0000
committerdoug <>2015-06-18 23:25:07 +0000
commitd475c1337d104a1f41d2c0db1ab61eb9f8f214ed (patch)
tree314dd2edc85273d817a178bbad4befe656708fd0 /src/lib/libcrypto/engine/eng_dyn.c
parentdcf41c369c66abeda9455a63d221f867cb78f343 (diff)
downloadopenbsd-d475c1337d104a1f41d2c0db1ab61eb9f8f214ed.tar.gz
openbsd-d475c1337d104a1f41d2c0db1ab61eb9f8f214ed.tar.bz2
openbsd-d475c1337d104a1f41d2c0db1ab61eb9f8f214ed.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/engine/eng_dyn.c')
0 files changed, 0 insertions, 0 deletions