boringssl/crypto/bytestring
David Benjamin 4ff41f614c Check for overflow in CBB_add_u24.
All other CBB_add_u<N> functions take a narrowed type, but not every
uint32_t may fit in a u24. Check for this rather than silently truncate.

Change-Id: I23879ad0f4d2934f257e39e795cf93c6e3e878bf
Reviewed-on: https://boringssl-review.googlesource.com/8940
Reviewed-by: Adam Langley <agl@google.com>
Commit-Queue: Adam Langley <agl@google.com>
CQ-Verified: CQ bot account: commit-bot@chromium.org <commit-bot@chromium.org>
2016-07-26 15:19:41 +00:00
..
asn1_compat.c
ber.c Add CBS_ASN1_UTF8STRING define. 2016-03-23 19:29:49 +00:00
bytestring_test.cc Check for overflow in CBB_add_u24. 2016-07-26 15:19:41 +00:00
cbb.c Check for overflow in CBB_add_u24. 2016-07-26 15:19:41 +00:00
cbs.c Make tls_open_record always in-place. 2016-06-08 18:39:07 +00:00
CMakeLists.txt
internal.h