mirror of https://github.com/OISF/suricata
You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
The args of a WRITE request and of a READ reply were trusted to fit the record that carries them. Where the claim fell below the extent the parse covers, the file data ran past the record boundary into the next RPC, which was then read as a record. A max-tx of 0 was accepted and evicted every transaction on insert. Compare the claim against that extent: for a WRITE the handle, offset, count, stable flag and its data, for a READ the status, the optional attributes, the count, the eof flag and its data. A record whose claim is below the extent gets a transaction with the malformed data event and a skip to the record boundary, as an oversized claim already does. Only the v3 records arrive in pieces, so process_read_record now learns which reply it is given and the check is v3's. Reject a max-tx of 0 at config load. Ticket: #9263. |
21 hours ago | |
|---|---|---|
| .. | ||
| .cargo | ||
| derive | 6 days ago | |
| ffi | 21 hours ago | |
| htp | 6 days ago | |
| src | 21 hours ago | |
| suricatactl | 6 days ago | |
| suricatasc | 6 days ago | |
| sys | 6 days ago | |
| .gitignore | ||
| Cargo.lock.in | 2 days ago | |
| Cargo.toml.in | 2 days ago | |
| Makefile.am | 6 days ago | |
| cbindgen.toml | 4 months ago | |
| rustfmt.toml | ||