mirror of https://github.com/OISF/suricata
defrag: fix reconstruction
This patch is fixing an issue in defragmentation code. The insertion of a fragment in the list of fragments is done with respect to the offset of the fragment. But the code was using the original offset of the fragment and not the one of the new reconstructed fragment (which can be different in the case of overlapping segment where the left part is trimmed). This case could lead to some evasion techniques by causing Suricata to analyse a different payload.pull/1001/head
parent
09fd7060ec
commit
97ca02f0c5
Loading…
Reference in New Issue