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:01:13 +0000 (10:01 +0100)
commitbfd19df6d06918c98a52a90e53712a8883d18db0
tree7544185de048c30ced77fe6496a152dd3d55aa7a
parent7f9edfd23a9b9cd0827cc381e8fbd8cd0c9e5035
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>
(cherry picked from commit a43bcd9e96c5180e5c6c82164ece643c0097485e)
crypto/bn/bn_div.c