Cross Reference: 040-uninitialized_ctx.patch
xref
: /
solaris-userland
/
components
/
openssl
/
common
/
patches
/
040-uninitialized_ctx.patch
Home
History
Annotate
Line#
Navigate
Download
Search
only in
./
040-uninitialized_ctx.patch revision 4820
4364
N/A
#
4364
N/A
# This was developed in house. Upstreadm notified (PR#277).
4364
N/A
#
4364
N/A
diff -ru
openssl-1.0.1m/crypto/evp/evp_enc.c
openssl-1.0.1m/crypto/evp/evp_enc.c.new
4364
N/A
---
openssl-1.0.1m/crypto/evp/evp_enc.c
Thu May 7 09:46:32 2015
4364
N/A
+++
openssl-1.0.1m/crypto/evp/evp_enc.c.new
Thu May 7 09:46:23 2015
4820
N/A
@@ -185,6 +185,7 @@
4364
N/A
EVPerr(EVP_F_EVP_CIPHERINIT_EX, ERR_R_MALLOC_FAILURE);
4364
N/A
return 0;
4364
N/A
}
4364
N/A
+ (void) memset(ctx->cipher_data, 0, ctx->cipher->ctx_size);
4364
N/A
} else {
4364
N/A
ctx->cipher_data = NULL;
4364
N/A
}