From: Philippe Antoine Date: Thu, 15 Oct 2020 19:32:27 +0000 (+0200) Subject: ssl: upgarde to uint32 for bytes_processed X-Git-Tag: suricata-5.0.5~4 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=256e2e78a91cf764315dab57ee0974d80f4bd291;p=thirdparty%2Fsuricata.git ssl: upgarde to uint32 for bytes_processed as it can overflow, and is compared with uint32 such as message_length and message_start and --- diff --git a/src/app-layer-ssl.h b/src/app-layer-ssl.h index 597e85cd02..28d7bc1c42 100644 --- a/src/app-layer-ssl.h +++ b/src/app-layer-ssl.h @@ -186,7 +186,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;