]> git.ipfire.org Git - thirdparty/suricata.git/commit
tcp: don't set event on empty SACK opt 4319/head
authorVictor Julien <victor@inliniac.net>
Thu, 17 Oct 2019 13:42:15 +0000 (15:42 +0200)
committerVictor Julien <victor@inliniac.net>
Fri, 18 Oct 2019 05:49:26 +0000 (07:49 +0200)
commitfb26268c6b758569eab2e29b09ecbc599f5ed112
tree12eebe522cda2cf9c800cf2ba3f39bd65ffa4f23
parentaae76a84cd90ad3699f28da1ffa33e6187472127
tcp: don't set event on empty SACK opt

TCP_OPT_INVALID_LEN was set if the opt len was 2. While useless
an empty SACK is not uncommon.

Seen on an iOS device talking to an Apple server.

Bug #3254.
src/decode-tcp.c