Detect symmetric crypto errors in PKCS7_decrypt.
[oweals/openssl.git] / crypto / bn / bn_gf2m.c
index ee7a358c6920db1e74d02de79cacdb31f1d34a37..0bfb56971e3362eadbe248864dea15f30eefd6c6 100644 (file)
@@ -525,7 +525,7 @@ err:
  */
 int BN_GF2m_mod_inv(BIGNUM *r, const BIGNUM *a, const BIGNUM *p, BN_CTX *ctx)
        {
-       BIGNUM *b, *c, *u, *v, *tmp;
+       BIGNUM *b, *c = NULL, *u = NULL, *v = NULL, *tmp;
        int ret = 0;
 
        bn_check_top(a);