components/openssl/openssl-1.0.1/patches/41_uninitialized_ctx.patch
branchs11-update
changeset 4461 68eb2fdf9b3a
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/components/openssl/openssl-1.0.1/patches/41_uninitialized_ctx.patch	Wed Jun 10 11:25:02 2015 -0700
@@ -0,0 +1,13 @@
+#
+# This was developed in house. Upstream notified.
+#
+--- openssl-1.0.1m/crypto/evp/evp_enc.c.orig	Tue Jun  2 13:18:15 2015
++++ openssl-1.0.1m/crypto/evp/evp_enc.c	Tue Jun  2 13:19:19 2015
+@@ -179,6 +179,7 @@
+                 EVPerr(EVP_F_EVP_CIPHERINIT_EX, ERR_R_MALLOC_FAILURE);
+                 return 0;
+             }
++	    (void) memset(ctx->cipher_data, 0, ctx->cipher->ctx_size);
+         } else {
+             ctx->cipher_data = NULL;
+         }