Fix a NULL deref in an error path
authorMatt Caswell <matt@openssl.org>
Thu, 12 Nov 2015 15:54:30 +0000 (15:54 +0000)
committerMatt Caswell <matt@openssl.org>
Thu, 26 Nov 2015 12:02:03 +0000 (12:02 +0000)
commit3bbd1d63e2d77e4e36e869640086f74714b3a4ee
treea0c9fadf1456e5a5d7460805834e9f1cf4b4f498
parente113c9c59dcb419dd00525cec431edb854a6c897
Fix a NULL deref in an error path

The SRP_create_verifier_BN function goes to the |err| label if the |salt|
value passed to it is NULL. It is then deref'd.

Reviewed-by: Rich Salz <rsalz@openssl.org>
crypto/srp/srp_vfy.c