[openssl-commits] [openssl] OpenSSL_1_0_2-stable update

Richard Levitte levitte at openssl.org
Sun Feb 5 00:06:30 UTC 2017


The branch OpenSSL_1_0_2-stable has been updated
       via  efe8398649a1d7fc9d84d2818592652e0632a8a8 (commit)
      from  43b1a3dcc824f234157f71213f9af6848898e4b4 (commit)


- Log -----------------------------------------------------------------
commit efe8398649a1d7fc9d84d2818592652e0632a8a8
Author: Bernd Edlinger <bernd.edlinger at hotmail.de>
Date:   Thu Feb 2 13:36:10 2017 +0100

    Fix a crash with malformed user notice policy numbers
    
    Reviewed-by: Rich Salz <rsalz at openssl.org>
    Reviewed-by: Richard Levitte <levitte at openssl.org>
    (Merged from https://github.com/openssl/openssl/pull/2352)
    (cherry picked from commit fe4075f25962dbd302d856c11ac47adb84edc9ca)

-----------------------------------------------------------------------

Summary of changes:
 crypto/x509v3/v3_cpols.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/crypto/x509v3/v3_cpols.c b/crypto/x509v3/v3_cpols.c
index d97f622..f28acab 100644
--- a/crypto/x509v3/v3_cpols.c
+++ b/crypto/x509v3/v3_cpols.c
@@ -390,10 +390,10 @@ static int nref_nos(STACK_OF(ASN1_INTEGER) *nnums, STACK_OF(CONF_VALUE) *nos)
     return 1;
 
  merr:
+    ASN1_INTEGER_free(aint);
     X509V3err(X509V3_F_NREF_NOS, ERR_R_MALLOC_FAILURE);
 
  err:
-    sk_ASN1_INTEGER_pop_free(nnums, ASN1_STRING_free);
     return 0;
 }
 


More information about the openssl-commits mailing list