Dr. Stephen Henson cc598f321f Fix leak with ASN.1 combine.
When parsing a combined structure pass a flag to the decode routine
so on error a pointer to the parent structure is not zeroed as
this will leak any additional components in the parent.

This can leak memory in any application parsing PKCS#7 or CMS structures.

CVE-2015-3195.

Thanks to Adam Langley (Google/BoringSSL) for discovering this bug using
libFuzzer.

PR#4131

Reviewed-by: Richard Levitte <levitte@openssl.org>
2015-12-03 14:32:05 +00:00
..
2015-01-22 09:31:38 +00:00
2015-04-18 14:43:33 +01:00
2015-01-22 09:31:38 +00:00
2015-03-19 12:58:35 +00:00
2015-11-24 16:55:34 +00:00
2015-03-08 16:29:28 +00:00
2015-01-22 09:31:38 +00:00
2015-04-16 13:50:01 -04:00
2015-04-16 13:50:01 -04:00
2014-07-04 18:43:06 +01:00
2015-01-22 09:31:38 +00:00
2015-01-22 09:31:38 +00:00
2015-01-22 09:31:38 +00:00
2015-01-22 09:31:38 +00:00
2015-12-03 14:32:05 +00:00
2015-04-16 13:50:01 -04:00
2015-08-31 16:04:39 -04:00
2015-03-02 13:43:17 +00:00
2015-01-22 09:31:38 +00:00
2015-01-22 09:31:38 +00:00
2015-01-22 09:31:38 +00:00
2015-08-28 11:59:23 -04:00