Blame SOURCES/openssl-1.0.1e-cve-2015-1792.patch

5c1a6c
diff -up openssl-1.0.1e/crypto/cms/cms_smime.c.unknown-hash openssl-1.0.1e/crypto/cms/cms_smime.c
5c1a6c
--- openssl-1.0.1e/crypto/cms/cms_smime.c.unknown-hash	2013-02-11 16:26:04.000000000 +0100
5c1a6c
+++ openssl-1.0.1e/crypto/cms/cms_smime.c	2015-06-09 16:07:16.001516190 +0200
5c1a6c
@@ -141,7 +141,7 @@ static void do_free_upto(BIO *f, BIO *up
5c1a6c
 			BIO_free(f);
5c1a6c
 			f = tbio;
5c1a6c
 			}
5c1a6c
-		while (f != upto);
5c1a6c
+		while (f && f != upto);
5c1a6c
 		}
5c1a6c
 	else
5c1a6c
 		BIO_free_all(f);