diff options
author | doug <> | 2015-06-18 23:25:07 +0000 |
---|---|---|
committer | doug <> | 2015-06-18 23:25:07 +0000 |
commit | 815c9ed0143713859a67f4501a0f3698f19d25a3 (patch) | |
tree | 314dd2edc85273d817a178bbad4befe656708fd0 /src/lib/libcrypto/arch/sparc | |
parent | 0c8481527354cd5324e6b474cbd1cbe8e36ef4e2 (diff) | |
download | openbsd-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/arch/sparc')
0 files changed, 0 insertions, 0 deletions