Skip to content

Commit 5a37b0d

Browse files
committed
fix possible uninitialize variable
1 parent e5eb1dd commit 5a37b0d

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

ext/openssl/openssl.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2014,7 +2014,7 @@ PHP_FUNCTION(openssl_csr_parse)
20142014
BIO *bio_out;
20152015
BUF_MEM *bio_buf;
20162016
char buf[256];
2017-
STACK_OF(X509_EXTENSION) *exts;
2017+
STACK_OF(X509_EXTENSION) *exts = NULL;
20182018
char *crit_name = NULL;
20192019
int crit_len = 0;
20202020

0 commit comments

Comments
 (0)