Matt Caswell b11980d79a Check for 0 modulus in BN_MONT_CTX_set
The function BN_MONT_CTX_set was assuming that the modulus was non-zero
and therefore that |mod->top| > 0. In an error situation that may not be
the case and could cause a seg fault.

This is a follow on from CVE-2015-1794.

Reviewed-by: Richard Levitte <levitte@openssl.org>
2015-08-11 20:23:00 +01:00
..
2015-07-14 01:18:57 +02:00
2015-06-16 13:14:09 +02:00
2015-08-11 20:23:00 +01:00
2015-06-11 15:02:21 +01:00
2015-07-29 21:21:47 -04:00
2015-07-06 18:36:10 +01:00
2015-06-12 14:43:23 +01:00
2015-07-14 01:18:57 +02:00
2012-06-08 09:18:47 +00:00
2015-07-14 01:18:57 +02:00
2015-07-14 01:18:57 +02:00
2015-07-14 01:18:57 +02:00
2015-07-07 22:57:36 +01:00
2015-07-14 01:18:57 +02:00
2011-08-12 12:31:08 +00:00
2015-02-09 13:01:28 +00:00
2015-05-26 09:58:12 +02:00
2015-04-22 17:24:47 +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-07-09 13:29:59 +01:00
2015-07-14 01:18:57 +02:00
2015-01-22 09:38:39 +00:00