diff options
author | Brent Cook <bcook@cvs.openbsd.org> | 2019-05-08 21:53:11 +0000 |
---|---|---|
committer | Brent Cook <bcook@cvs.openbsd.org> | 2019-05-08 21:53:11 +0000 |
commit | 23610cb8b8cc134433bd64d343c86bbe037f3ec4 (patch) | |
tree | f559a35c8a410f849b288ddd4b6e442feea0b28b /lib/libcrypto/x509v3/v3_pmaps.c | |
parent | 39fcb2c43edba92f9189f7a45687d7c558b3a46e (diff) |
initialize safestack pointers
ok beck@, tb@
Diffstat (limited to 'lib/libcrypto/x509v3/v3_pmaps.c')
-rw-r--r-- | lib/libcrypto/x509v3/v3_pmaps.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/libcrypto/x509v3/v3_pmaps.c b/lib/libcrypto/x509v3/v3_pmaps.c index b10dfda0724..37264649c8a 100644 --- a/lib/libcrypto/x509v3/v3_pmaps.c +++ b/lib/libcrypto/x509v3/v3_pmaps.c @@ -1,4 +1,4 @@ -/* $OpenBSD: v3_pmaps.c,v 1.12 2019/04/22 17:32:09 tb Exp $ */ +/* $OpenBSD: v3_pmaps.c,v 1.13 2019/05/08 21:53:10 bcook Exp $ */ /* Written by Dr Stephen N Henson (steve@openssl.org) for the OpenSSL * project. */ @@ -148,7 +148,7 @@ static STACK_OF(CONF_VALUE) * i2v_POLICY_MAPPINGS(const X509V3_EXT_METHOD *method, void *a, STACK_OF(CONF_VALUE) *extlist) { - STACK_OF(CONF_VALUE) *free_extlist; + STACK_OF(CONF_VALUE) *free_extlist = NULL; POLICY_MAPPINGS *pmaps = a; POLICY_MAPPING *pmap; char issuer[80], subject[80]; |