diff options
author | 2015-06-18 23:25:07 +0000 | |
---|---|---|
committer | 2015-06-18 23:25:07 +0000 | |
commit | 9d4b5ca74c88ec79c48a23a2626fb296b06d1e70 (patch) | |
tree | b1ca48b1108b371d44fe088afaed033a8af04463 /lib/libssl/src/ssl/bs_cbs.c | |
parent | Remove Microsoft Server Gated Crypto. (diff) | |
download | wireguard-openbsd-9d4b5ca74c88ec79c48a23a2626fb296b06d1e70.tar.xz wireguard-openbsd-9d4b5ca74c88ec79c48a23a2626fb296b06d1e70.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 'lib/libssl/src/ssl/bs_cbs.c')
0 files changed, 0 insertions, 0 deletions