[openssl] OpenSSL_1_1_1-stable update
Dr. Paul Dale
pauli at openssl.org
Tue Oct 6 22:58:07 UTC 2020
The branch OpenSSL_1_1_1-stable has been updated
via ae9bcce2ab57d19119a85788eb48f8e8ba8ed3ee (commit)
from db78f8b3859aa35a4988d4ba49d5e8de8c2b491d (commit)
- Log -----------------------------------------------------------------
commit ae9bcce2ab57d19119a85788eb48f8e8ba8ed3ee
Author: Benny Baumann <BenBE at geshi.org>
Date: Fri Oct 2 01:04:06 2020 +0200
Use size of target buffer for allocation
Reviewed-by: Ben Kaduk <kaduk at mit.edu>
Reviewed-by: Dmitry Belyavskiy <beldmit at gmail.com>
Reviewed-by: Richard Levitte <levitte at openssl.org>
Reviewed-by: Paul Dale <paul.dale at oracle.com>
(Merged from https://github.com/openssl/openssl/pull/13055)
(cherry picked from commit 8ad369171fc2b435c0ca427111481da4d4c3c1ce)
-----------------------------------------------------------------------
Summary of changes:
ssl/ssl_sess.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/ssl/ssl_sess.c b/ssl/ssl_sess.c
index 40c157bb42..423bb4d38a 100644
--- a/ssl/ssl_sess.c
+++ b/ssl/ssl_sess.c
@@ -107,7 +107,7 @@ SSL_SESSION *ssl_session_dup(SSL_SESSION *src, int ticket)
{
SSL_SESSION *dest;
- dest = OPENSSL_malloc(sizeof(*src));
+ dest = OPENSSL_malloc(sizeof(*dest));
if (dest == NULL) {
goto err;
}
More information about the openssl-commits
mailing list