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-05-22 23:45:33 +01:00
2015-03-12 09:32:22 +00:00
2015-06-04 09:29:13 +01:00
2015-05-22 23:45:33 +01:00
2015-05-22 23:45:33 +01:00
2015-01-22 09:38:39 +00:00