diff options
author | doug <> | 2015-06-18 23:25:07 +0000 |
---|---|---|
committer | doug <> | 2015-06-18 23:25:07 +0000 |
commit | d475c1337d104a1f41d2c0db1ab61eb9f8f214ed (patch) | |
tree | 314dd2edc85273d817a178bbad4befe656708fd0 /src/lib/libssl/bs_cbs.c | |
parent | dcf41c369c66abeda9455a63d221f867cb78f343 (diff) | |
download | openbsd-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/libssl/bs_cbs.c')
0 files changed, 0 insertions, 0 deletions