From 702714b4fbfab6b2dd4230cda0ce4b13e73f1d22 Mon Sep 17 00:00:00 2001 From: bcook <> Date: Wed, 8 May 2019 21:53:10 +0000 Subject: initialize safestack pointers ok beck@, tb@ --- src/lib/libcrypto/x509v3/v3_bitst.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/lib/libcrypto/x509v3/v3_bitst.c') diff --git a/src/lib/libcrypto/x509v3/v3_bitst.c b/src/lib/libcrypto/x509v3/v3_bitst.c index 178131edbb..6744461754 100644 --- a/src/lib/libcrypto/x509v3/v3_bitst.c +++ b/src/lib/libcrypto/x509v3/v3_bitst.c @@ -1,4 +1,4 @@ -/* $OpenBSD: v3_bitst.c,v 1.15 2019/04/22 17:23:55 tb Exp $ */ +/* $OpenBSD: v3_bitst.c,v 1.16 2019/05/08 21:53:10 bcook Exp $ */ /* Written by Dr Stephen N Henson (steve@openssl.org) for the OpenSSL * project 1999. */ @@ -127,7 +127,7 @@ i2v_ASN1_BIT_STRING(X509V3_EXT_METHOD *method, ASN1_BIT_STRING *bits, STACK_OF(CONF_VALUE) *ret) { BIT_STRING_BITNAME *bnam; - STACK_OF(CONF_VALUE) *free_ret; + STACK_OF(CONF_VALUE) *free_ret = NULL; if (ret == NULL) { if ((free_ret = ret = sk_CONF_VALUE_new_null()) == NULL) -- cgit v1.2.3-55-g6feb