Dr. Stephen Henson b29ffa392e 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 13:45:13 +01:00
..
2015-01-22 09:38:39 +00:00
2015-04-18 14:44:17 +01:00
2015-01-22 09:38:39 +00:00
2015-03-19 12:59:31 +00:00
2015-11-24 16:55:44 +00:00
2015-03-08 16:29:42 +00:00
2015-01-22 09:38:39 +00:00
2015-04-16 13:51:51 -04:00
2015-04-16 13:51:51 -04:00
2014-07-04 18:43:50 +01:00
2015-01-22 09:38:39 +00:00
2015-01-22 09:38:39 +00:00
2015-01-22 09:38:39 +00:00
2015-01-22 09:38:39 +00:00
2015-12-03 13:45:13 +01:00
2015-04-16 13:51:51 -04:00
2015-08-31 16:06:29 -04:00
2015-03-02 13:43:29 +00:00
2015-01-22 09:38:39 +00:00
2015-01-22 09:38:39 +00:00
2015-01-22 09:38:39 +00:00