]> git.ipfire.org Git - thirdparty/suricata.git/commitdiff
stream: fix minor typos
authorShivani Bhardwaj <shivani@oisf.net>
Sat, 15 Mar 2025 09:42:03 +0000 (15:12 +0530)
committerVictor Julien <victor@inliniac.net>
Sat, 29 Mar 2025 05:37:59 +0000 (06:37 +0100)
src/stream-tcp-reassemble.c

index 3526245639400e6a1e531a6a15c7ef32cbdac4da..c36ab3fe274040f110ac4d3bec3da5bf04ef64e0 100644 (file)
@@ -641,7 +641,7 @@ bool StreamTcpReassembleDepthReached(Packet *p)
 
 /**
  *  \internal
- *  \brief Function to Check the reassembly depth valuer against the
+ *  \brief Function to check the reassembly depth value against the
  *        allowed max depth of the stream reassembly for TCP streams.
  *
  *  \param stream stream direction
@@ -679,7 +679,7 @@ static uint32_t StreamTcpReassembleCheckDepth(TcpSession *ssn, TcpStream *stream
         seg_depth = STREAM_BASE_OFFSET(stream) + ((seq + size) - stream->base_seq);
     }
 
-    /* if the base_seq has moved passed the depth window we stop
+    /* if the base_seq has moved past the depth window we stop
      * checking and just reject the rest of the packets including
      * retransmissions. Saves us the hassle of dealing with sequence
      * wraps as well */
@@ -734,7 +734,7 @@ uint32_t StreamDataAvailableForProtoDetect(TcpStream *stream)
 }
 
 /**
- *  \brief Insert a packets TCP data into the stream reassembly engine.
+ *  \brief Insert a TCP packet data into the stream reassembly engine.
  *
  *  \retval 0 good segment, as far as we checked.
  *  \retval -1 insert failure due to memcap