[openssl] OpenSSL_1_1_1-stable update

tomas at openssl.org tomas at openssl.org
Wed Aug 25 14:55:34 UTC 2021


The branch OpenSSL_1_1_1-stable has been updated
       via  801abbe01ebd380a9b66f08d59fcc5e8738134a5 (commit)
      from  a2056b09fbef58bcb79b0fe8b88b592c560eb32f (commit)


- Log -----------------------------------------------------------------
commit 801abbe01ebd380a9b66f08d59fcc5e8738134a5
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)
    
    (cherry picked from commit 562d4cd3c35b32f2bc6ac0770b80ce394f8d76a4)

-----------------------------------------------------------------------

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 e6a8bbd710..f158544789 100644
--- a/ssl/record/ssl3_record.c
+++ b/ssl/record/ssl3_record.c
@@ -1039,7 +1039,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