]> git.ipfire.org Git - thirdparty/suricata.git/commit
defrag: don't modify packet if defrag fails 666/head
authorEric Leblond <eric@regit.org>
Thu, 28 Nov 2013 16:36:03 +0000 (17:36 +0100)
committerEric Leblond <eric@regit.org>
Thu, 28 Nov 2013 16:41:16 +0000 (17:41 +0100)
commit3fdf52239d611c0d436934e3adf99544ba686419
treef165a81b8dc911b346ec3f7a983672f2212d7a0f
parentc611b258a50cb2bbca4abf346d5eccc671e3a3b0
defrag: don't modify packet if defrag fails

If defrag fails dur to an invalid decoding, we are not modifying
the origin packet anymore.
src/decode-ipv4.c
src/decode-ipv6.c
src/decode.c
src/decode.h
src/defrag.c
src/defrag.h