Matt Caswell
9e488fd6ab
ASN1_primitive_new NULL param handling
...
ASN1_primitive_new takes an ASN1_ITEM * param |it|. There are a couple
of conditional code paths that check whether |it| is NULL or not - but
later |it| is deref'd unconditionally. If |it| was ever really NULL then
this would seg fault. In practice ASN1_primitive_new is marked as an
internal function in the public header file. The only places it is ever
used internally always pass a non NULL parameter for |it|. Therefore, change
the code to sanity check that |it| is not NULL, and remove the conditional
checking.
Reviewed-by: Rich Salz <rsalz@openssl.org>
Reviewed-by: Andy Polyakov <appro@openssl.org>
2015-03-12 09:20:45 +00:00
..
2015-01-22 09:20:09 +00:00
2015-01-22 09:20:09 +00:00
2015-01-22 09:20:09 +00:00
2015-01-22 09:20:09 +00:00
2015-01-22 09:20:09 +00:00
2015-01-22 09:20:09 +00:00
2015-01-22 09:20:09 +00:00
2015-01-30 15:35:49 -05:00
2015-01-22 09:20:09 +00:00
2015-02-09 12:47:28 +00:00
2015-01-22 09:20:09 +00:00
2015-02-09 12:47:28 +00:00
2015-01-22 09:20:09 +00:00
2015-01-22 09:20:09 +00:00
2015-01-22 09:20:09 +00:00
2015-01-22 09:20:10 +00:00
2015-01-30 15:35:49 -05:00
2015-02-06 10:47:53 -05:00
2015-01-30 15:35:49 -05:00
2015-02-09 12:47:28 +00:00
2015-01-30 15:35:49 -05:00
2015-01-22 09:20:09 +00:00
2015-01-22 09:20:09 +00:00
2015-01-22 09:20:09 +00:00
2015-01-22 09:20:09 +00:00
2015-03-11 11:18:15 +00:00
2015-03-08 16:27:55 +00:00
2015-01-22 09:20:09 +00:00
2015-01-22 09:20:09 +00:00
2015-03-09 21:02:41 +01:00
2015-03-08 16:27:55 +00:00
2015-01-22 09:20:09 +00:00
2015-02-06 10:47:53 -05:00
2015-01-22 09:20:09 +00:00
2015-01-22 09:20:09 +00:00
2015-01-22 09:20:09 +00:00
2015-01-29 01:54:09 +01:00
2015-03-05 09:09:57 +00:00
2015-01-22 09:20:09 +00:00
2014-08-18 11:49:16 -04:00
2015-01-22 09:20:09 +00:00
2015-01-22 09:20:09 +00:00
2015-01-22 09:20:09 +00:00
2015-01-22 09:20:09 +00:00
2015-01-22 09:20:09 +00:00
2015-01-22 09:20:09 +00:00
2015-01-22 09:20:09 +00:00
2015-01-22 09:20:09 +00:00
2014-12-08 21:40:26 +00:00
2015-01-22 09:20:09 +00:00
2015-01-22 09:20:09 +00:00
2015-01-22 09:20:09 +00:00
2015-01-22 09:20:09 +00:00
2015-02-03 13:58:14 +00:00
2015-01-22 09:20:09 +00:00
2015-01-22 09:20:09 +00:00
2015-01-22 09:20:09 +00:00
2015-01-22 09:20:09 +00:00
2015-01-22 09:20:09 +00:00
2015-01-30 15:35:49 -05:00
2015-01-22 09:20:09 +00:00
2015-01-29 01:54:09 +01:00
2015-01-29 01:54:09 +01:00
2015-01-22 09:20:09 +00:00
2015-03-12 09:20:45 +00:00
2015-01-30 15:35:49 -05:00
2015-01-22 09:20:09 +00:00
2015-01-22 09:20:09 +00:00
2015-01-22 09:20:09 +00:00
2015-02-09 12:47:28 +00:00
2015-01-22 09:20:09 +00:00
2015-03-02 13:26:29 +00:00
2015-02-09 12:47:28 +00:00
2015-01-22 09:20:09 +00:00
2015-02-06 10:47:53 -05:00
2015-03-02 13:26:29 +00:00
2015-02-09 12:47:28 +00:00
2015-01-22 09:20:09 +00:00
2015-01-22 09:20:09 +00:00
2015-01-22 09:20:09 +00:00
2015-01-22 09:20:09 +00:00
2015-01-22 09:20:09 +00:00
2015-01-22 09:20:09 +00:00
2015-01-22 09:20:09 +00:00
2015-01-27 10:19:14 -05:00
2015-02-06 10:55:31 -05:00