Added by Victor Julien 10 months ago.
Updated 8 months ago.
Found by oss-fuzz https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=44150
This was actually a more interesting condition where we could switch flow direction based on a packet where in the other direction we had already detected the protocol and had already started to parse the traffic and build up state.
For now I've just blocked that:https://github.com/OISF/suricata/pull/7226/commits/86e8611f5edd461bc13aa5665a40f9d241c4f23d
Also available in: Atom