mirror of https://github.com/OISF/suricata
Fix segfault when the protocol is anything other than HTTP
When a file is transferred over anything other than HTTP, the previously hard-coded HTTP protocol would trigger a non-existent index into htp_list_array_get(), causing a segfault. This patch mimics the logic in detect-lua-extensions.c.pull/3368/head
parent
2d2c01e772
commit
6ba02cac50
Loading…
Reference in New Issue