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:
c190506
)
Clear buffer in PEM_write_bio
author
Bernd Edlinger
<bernd.edlinger@hotmail.de>
Fri, 30 Mar 2018 17:13:06 +0000
(19:13 +0200)
committer
Bernd Edlinger
<bernd.edlinger@hotmail.de>
Thu, 19 Apr 2018 13:47:43 +0000
(15:47 +0200)
Reviewed-by: Richard Levitte <levitte@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/5814)
crypto/pem/pem_lib.c
patch
|
blob
|
history
diff --git
a/crypto/pem/pem_lib.c
b/crypto/pem/pem_lib.c
index 830099295caeb18e4aa865b90573f692b87c0940..6e66e9d3e927112112deffda2505d097f999978f 100644
(file)
--- a/
crypto/pem/pem_lib.c
+++ b/
crypto/pem/pem_lib.c
@@
-661,7
+661,7
@@
int PEM_write_bio(BIO *bp, const char *name, const char *header,
if (retval == 0)
PEMerr(PEM_F_PEM_WRITE_BIO, reason);
EVP_ENCODE_CTX_free(ctx);
- OPENSSL_
free(buf
);
+ OPENSSL_
clear_free(buf, PEM_BUFSIZE * 8
);
return retval;
}