File openssl-CVE-2009-0789.patch of Package compat-openssl098.16428

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