Dr. Stephen Henson 2cdafc51f0 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-02 21:40:20 +01:00
..
2015-01-22 09:52:55 +00:00
2015-01-22 09:52:55 +00:00
2015-04-18 14:45:38 +01:00
2015-01-22 09:52:55 +00:00
2015-03-19 13:00:44 +00:00
2015-11-24 16:56:02 +00:00
2015-01-22 09:52:55 +00:00
2015-01-22 09:52:55 +00:00
2015-01-22 09:52:55 +00:00
2015-01-22 09:52:55 +00:00
2015-01-22 09:52:55 +00:00
2015-01-22 09:52:55 +00:00
2015-12-02 21:40:20 +01:00
2015-03-02 13:50:01 +00:00
2015-03-02 13:50:01 +00:00
2015-01-22 09:52:55 +00:00
2015-01-22 09:52:55 +00:00
2015-01-22 09:52:55 +00:00
2015-04-16 13:54:47 -04:00