forked from pool/openssl
14 lines
578 B
Diff
14 lines
578 B
Diff
|
Index: openssl-1.0.2i/crypto/x509v3/v3_cpols.c
|
||
|
===================================================================
|
||
|
--- openssl-1.0.2i.orig/crypto/x509v3/v3_cpols.c 2016-09-23 11:35:30.509972948 +0200
|
||
|
+++ openssl-1.0.2i/crypto/x509v3/v3_cpols.c 2016-09-23 11:36:16.742667963 +0200
|
||
|
@@ -459,6 +459,8 @@ static void print_notice(BIO *out, USERN
|
||
|
if (i)
|
||
|
BIO_puts(out, ", ");
|
||
|
tmp = i2s_ASN1_INTEGER(NULL, num);
|
||
|
+ if (tmp == NULL)
|
||
|
+ return;
|
||
|
BIO_puts(out, tmp);
|
||
|
OPENSSL_free(tmp);
|
||
|
}
|