4f94a8381a
An embedded item wasn't allocated separately on the heap, so don't free it as if it was. Issue discovered by Pavel Kopyl (Imported from upstream's cdc3307d4257f4fcebbab3b2b44207e1a399da05 and 65d414434aeecd5aa86a46adbfbcb59b4344503a.) I do not believe this is actually reachable in BoringSSL, even in the face of malloc errors. The only field which sets ASN1_TFLG_COMBINE is in X509_ATTRIBUTE. That field's value is X509_ATTRIBUTE_SET which cannot fail to initialize. (It is a CHOICE whose initialization consists of setting the selector to -1 and calling the type's callback which is unset for this type.) Change-Id: I29c080f8a4ddc2f3ef9c119d0d90a899d3cb78c5 Reviewed-on: https://boringssl-review.googlesource.com/22365 Commit-Queue: Steven Valdez <svaldez@google.com> Reviewed-by: Steven Valdez <svaldez@google.com> CQ-Verified: CQ bot account: commit-bot@chromium.org <commit-bot@chromium.org> |
||
---|---|---|
.. | ||
a_bitstr.c | ||
a_bool.c | ||
a_d2i_fp.c | ||
a_dup.c | ||
a_enum.c | ||
a_gentm.c | ||
a_i2d_fp.c | ||
a_int.c | ||
a_mbstr.c | ||
a_object.c | ||
a_octet.c | ||
a_print.c | ||
a_strnid.c | ||
a_time.c | ||
a_type.c | ||
a_utctm.c | ||
a_utf8.c | ||
asn1_lib.c | ||
asn1_locl.h | ||
asn1_par.c | ||
asn1_test.cc | ||
asn_pack.c | ||
charmap.pl | ||
CMakeLists.txt | ||
f_enum.c | ||
f_int.c | ||
f_string.c | ||
tasn_dec.c | ||
tasn_enc.c | ||
tasn_fre.c | ||
tasn_new.c | ||
tasn_typ.c | ||
tasn_utl.c | ||
time_support.c |