Search
j0ke.net Open Build Service
>
Projects
>
home:netmax
:
monitoring
>
openssl1
> openssl-print_notice-NULL_crash.patch
Sign Up
|
Log In
Username
Password
Cancel
Overview
Repositories
Revisions
Requests
Users
Advanced
Attributes
Meta
File openssl-print_notice-NULL_crash.patch of Package openssl1
Index: openssl-1.0.1i/crypto/x509v3/v3_cpols.c =================================================================== --- openssl-1.0.1i.orig/crypto/x509v3/v3_cpols.c 2014-07-22 21:41:23.000000000 +0200 +++ openssl-1.0.1i/crypto/x509v3/v3_cpols.c 2016-09-22 15:47:33.576943429 +0200 @@ -425,6 +425,8 @@ static void print_notice(BIO *out, USERN num = sk_ASN1_INTEGER_value(ref->noticenos, i); if(i) BIO_puts(out, ", "); tmp = i2s_ASN1_INTEGER(NULL, num); + if (tmp == NULL) + return; BIO_puts(out, tmp); OPENSSL_free(tmp); }