projects
/
oweals
/
openssl.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
7a04fdd
)
Memory leak fix: local blinding structure not freed in rsa_eay_private_decrypt()
author
Richard Levitte
<levitte@openssl.org>
Tue, 15 Apr 2003 13:01:37 +0000
(13:01 +0000)
committer
Richard Levitte
<levitte@openssl.org>
Tue, 15 Apr 2003 13:01:37 +0000
(13:01 +0000)
crypto/rsa/rsa_eay.c
patch
|
blob
|
history
diff --git
a/crypto/rsa/rsa_eay.c
b/crypto/rsa/rsa_eay.c
index aff86343ccefcd54ad7e63af0b1ae842258da327..ee2a70bb483a371efde9d73e6ee5b3856442b667 100644
(file)
--- a/
crypto/rsa/rsa_eay.c
+++ b/
crypto/rsa/rsa_eay.c
@@
-504,6
+504,8
@@
err:
if (ctx != NULL) BN_CTX_free(ctx);
BN_clear_free(&f);
BN_clear_free(&ret);
if (ctx != NULL) BN_CTX_free(ctx);
BN_clear_free(&f);
BN_clear_free(&ret);
+ if (local_blinding)
+ BN_BLINDING_free(blinding);
if (buf != NULL)
{
OPENSSL_cleanse(buf,num);
if (buf != NULL)
{
OPENSSL_cleanse(buf,num);