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-12-03 14:32:05 +00:00
2015-09-15 11:58:27 -04:00
2015-10-23 20:32:59 +02:00
2015-09-22 20:04:01 +02:00
2015-09-15 11:58:27 -04:00
2015-09-15 11:58:27 -04:00
2015-09-15 11:58:27 -04:00
2015-09-15 11:58:27 -04:00
2015-09-15 11:58:27 -04:00
2015-10-23 20:32:59 +02:00
2015-09-15 11:58:27 -04:00
2015-12-03 15:20:10 +01:00
2015-09-15 11:58:27 -04:00
2015-09-15 11:58:27 -04:00
2015-09-15 11:58:27 -04:00
2015-09-15 11:58:27 -04:00
2015-09-15 11:58:27 -04:00
2015-09-15 11:58:27 -04:00
2015-09-15 11:58:27 -04:00
2015-09-15 11:58:27 -04:00
2015-09-15 11:58:27 -04:00
2015-09-15 11:58:27 -04:00
2015-09-15 11:58:27 -04:00
2015-10-23 20:32:59 +02:00
2015-09-15 11:58:27 -04:00
2015-09-15 11:58:27 -04:00
2015-09-15 11:58:27 -04:00
2015-09-15 11:58:27 -04:00
2015-09-15 11:58:27 -04:00
2015-09-15 11:58:27 -04:00
2015-09-15 11:58:27 -04:00
2015-09-21 10:23:25 +01:00
2015-09-15 11:58:27 -04:00
2015-09-15 11:58:27 -04:00
2015-09-15 11:58:27 -04:00
2015-09-15 11:58:27 -04:00
2015-09-15 11:58:27 -04:00
2015-10-23 20:32:59 +02:00
2011-08-12 12:31:08 +00:00
2014-06-10 23:20:55 +02:00
2015-02-09 13:01:15 +00:00
2015-04-22 17:20:38 +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-11-24 23:44:05 +01:00
2015-07-09 13:18:51 +01:00
2015-08-05 22:06:22 -04:00
2015-07-14 01:17:45 +02:00
2015-01-22 09:31:38 +00:00