]> git.ipfire.org Git - thirdparty/suricata.git/commit
dcerpc: do not assume an upper bound on data
authorShivani Bhardwaj <shivani@oisf.net>
Fri, 13 Sep 2024 08:56:05 +0000 (14:26 +0530)
committerVictor Julien <victor@inliniac.net>
Thu, 30 Jan 2025 09:52:05 +0000 (10:52 +0100)
commit0d6017d174e11868cff49fbd3e08280373cd3e18
treeec5bc0171933faa19abe7a1fe8676df3362fac49
parent84d705505678c20157943a4fe321c058bb030bbc
dcerpc: do not assume an upper bound on data

TCP data can be presented to the protocol parser in any way e.g. one
byte at a time, single complete PDU, fragmented PDU, multiple PDUs at
once. A limit of 1MB can be easily reached in some of such scenarios.
Remove the check that rejects data that is more than 1MB.
rust/src/dcerpc/dcerpc.rs