]> granicus.if.org Git - openssl/commit
Fix error handling in bn_exp
authorMatt Caswell <matt@openssl.org>
Wed, 11 Mar 2015 15:31:16 +0000 (15:31 +0000)
committerMatt Caswell <matt@openssl.org>
Thu, 12 Mar 2015 09:18:22 +0000 (09:18 +0000)
commit8c5a7b33c6269c3bd6bc0df6b4c22e4fba03b485
tree2bb9c4fc298e8447418ba4bf8a941bfd8beeb1c5
parent6b937f8b115d817b00116bc6291d604b16dc4602
Fix error handling in bn_exp

In the event of an error |rr| could be NULL. Therefore don't assume you can
use |rr| in the error handling code.

Reviewed-by: Andy Polyakov <appro@openssl.org>
crypto/bn/bn_exp.c