boringssl/crypto/x509v3
David Benjamin 56aaf164ac Pretty-print large INTEGERs and ENUMERATEDs in hex.
This avoids taking quadratic time to pretty-print certificates with
excessively large integer fields. Very large integers aren't any more
readable in decimal than hexadecimal anyway, and the i2s_* functions
will parse either form.

Found by libFuzzer.

Change-Id: Id586cd1b0eef8936d38ff50433ae7c819f0054f3
Reviewed-on: https://boringssl-review.googlesource.com/23424
Commit-Queue: David Benjamin <davidben@google.com>
CQ-Verified: CQ bot account: commit-bot@chromium.org <commit-bot@chromium.org>
Reviewed-by: Adam Langley <agl@google.com>
2017-11-27 18:38:50 +00:00
..
CMakeLists.txt Convert the tests in x509v3 to GTest. 2017-07-10 19:05:04 +00:00
ext_dat.h Convert the tests in x509v3 to GTest. 2017-07-10 19:05:04 +00:00
pcy_cache.c
pcy_data.c
pcy_int.h Convert stack.h to use inline functions. 2017-05-22 15:06:04 +00:00
pcy_lib.c Delete some dead code from crypto/x509. 2017-06-09 19:58:08 +00:00
pcy_map.c
pcy_node.c Convert stack.h to use inline functions. 2017-05-22 15:06:04 +00:00
pcy_tree.c Avoid possible memleak in X509_policy_check() 2017-07-06 18:53:18 +00:00
tab_test.cc Convert the tests in x509v3 to GTest. 2017-07-10 19:05:04 +00:00
v3_akey.c
v3_akeya.c
v3_alt.c Clear some _CRT_SECURE_NO_WARNINGS warnings. 2017-10-25 04:14:28 +00:00
v3_bcons.c
v3_bitst.c
v3_conf.c
v3_cpols.c Fix a crash in print_notice. 2017-03-21 14:50:26 +00:00
v3_crld.c
v3_enum.c
v3_extku.c
v3_genn.c Fix memory leak in GENERAL_NAME_set0_othername. 2017-10-30 18:40:17 +00:00
v3_ia5.c
v3_info.c Clear some _CRT_SECURE_NO_WARNINGS warnings. 2017-10-25 04:14:28 +00:00
v3_int.c
v3_lib.c Fix memory leak on sk_X509_EXTENSION_push failure. 2017-11-21 17:48:00 +00:00
v3_ncons.c Guard against DoS in name constraints handling. 2017-09-06 22:00:46 +00:00
v3_pci.c
v3_pcia.c
v3_pcons.c
v3_pku.c
v3_pmaps.c
v3_prn.c
v3_purp.c
v3_skey.c
v3_sxnet.c
v3_utl.c Pretty-print large INTEGERs and ENUMERATEDs in hex. 2017-11-27 18:38:50 +00:00
v3name_test.cc Convert the tests in x509v3 to GTest. 2017-07-10 19:05:04 +00:00