[openssl] master update
tomas at openssl.org
tomas at openssl.org
Wed Aug 25 14:53:40 UTC 2021
The branch master has been updated
via 562d4cd3c35b32f2bc6ac0770b80ce394f8d76a4 (commit)
from 1501de3380aa1907a6b27c734a3c30f0962048ed (commit)
- Log -----------------------------------------------------------------
commit 562d4cd3c35b32f2bc6ac0770b80ce394f8d76a4
Author: Bernd Edlinger <bernd.edlinger at hotmail.de>
Date: Mon Aug 23 14:03:20 2021 +0200
Fix the array size of dtlsseq in tls1_enc
Reviewed-by: Tomas Mraz <tomas at openssl.org>
(Merged from https://github.com/openssl/openssl/pull/16385)
-----------------------------------------------------------------------
Summary of changes:
ssl/record/ssl3_record.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/ssl/record/ssl3_record.c b/ssl/record/ssl3_record.c
index 30af6508a7..b6ac61e0e8 100644
--- a/ssl/record/ssl3_record.c
+++ b/ssl/record/ssl3_record.c
@@ -1047,7 +1047,7 @@ int tls1_enc(SSL *s, SSL3_RECORD *recs, size_t n_recs, int sending,
if (SSL_IS_DTLS(s)) {
/* DTLS does not support pipelining */
- unsigned char dtlsseq[9], *p = dtlsseq;
+ unsigned char dtlsseq[8], *p = dtlsseq;
s2n(sending ? DTLS_RECORD_LAYER_get_w_epoch(&s->rlayer) :
DTLS_RECORD_LAYER_get_r_epoch(&s->rlayer), p);
More information about the openssl-commits
mailing list