Sophie

Sophie

distrib > Scientific%20Linux > 5x > x86_64 > by-pkgid > e9a386f34e92b50c02e4f03c396fbd1b > files > 50

openssl-0.9.8e-27.el5_10.4.src.rpm

diff -up openssl-fips-0.9.8e/ssl/d1_both.c.dtls-doublefree openssl-fips-0.9.8e/ssl/d1_both.c
--- openssl-fips-0.9.8e/ssl/d1_both.c.dtls-doublefree	2014-07-07 10:23:15.000000000 +0200
+++ openssl-fips-0.9.8e/ssl/d1_both.c	2014-08-08 10:47:12.206115439 +0200
@@ -613,8 +613,7 @@ dtls1_process_out_of_seq_message(SSL *s,
 	return DTLS1_HM_FRAGMENT_RETRY;
 
 err:
-	if ( frag != NULL) dtls1_hm_fragment_free(frag);
-	if ( item != NULL) OPENSSL_free(item);
+	if (frag != NULL && item == NULL) dtls1_hm_fragment_free(frag);
 	*ok = 0;
 	return i;
 	}