Check for invalid divisors in BN_div.
authorEmilia Kasper <emilia@openssl.org>
Mon, 15 Dec 2014 13:52:22 +0000 (14:52 +0100)
committerEmilia Kasper <emilia@openssl.org>
Wed, 17 Dec 2014 09:00:17 +0000 (10:00 +0100)
commita43bcd9e96c5180e5c6c82164ece643c0097485e
tree8ec62ee5d8fc9842da6a10ea036d3b47f2c4193f
parentc8667a2e462c3e9e2c4fe1dc170b9b157d9ba938
Check for invalid divisors in BN_div.

Invalid zero-padding in the divisor could cause a division by 0.

Reviewed-by: Richard Levitte <levitte@openssl.org>
crypto/bn/bn_div.c