File openssl-CVE-2009-0789.patch of Package compat-openssl097g.import4909

Index: openssl-0.9.7g/crypto/asn1/tasn_dec.c
===================================================================
--- openssl-0.9.7g.orig/crypto/asn1/tasn_dec.c
+++ openssl-0.9.7g/crypto/asn1/tasn_dec.c
@@ -473,7 +473,6 @@ static int asn1_template_ex_d2i(ASN1_VAL
 
 	err:
 	ASN1_template_free(val, tt);
-	*val = NULL;
 	return 0;
 }
 
@@ -573,7 +572,6 @@ static int asn1_template_noexp_d2i(ASN1_
 
 	err:
 	ASN1_template_free(val, tt);
-	*val = NULL;
 	return 0;
 }
 
openSUSE Build Service is sponsored by