From 48f0c612e39c66400fd2e1991899e0a025f6dede Mon Sep 17 00:00:00 2001 From: Philippe Antoine Date: Thu, 15 Oct 2020 21:32:27 +0200 Subject: [PATCH] ssl: upgarde to uint32 for bytes_processed as it can overflow, and is compared with uint32 such as message_length and message_start and --- src/app-layer-ssl.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/app-layer-ssl.h b/src/app-layer-ssl.h index fc299c8762..bf8fc0f9e2 100644 --- a/src/app-layer-ssl.h +++ b/src/app-layer-ssl.h @@ -193,7 +193,7 @@ typedef struct SSLStateConnp_ { uint32_t handshake_length; /* the no of bytes processed in the currently parsed record */ - uint16_t bytes_processed; + uint32_t bytes_processed; /* the no of bytes processed in the currently parsed handshake */ uint16_t hs_bytes_processed;