Commit Graph

4 Commits (e9494ddd8ffa8c14e82fdaed673b49ddbf82368c)

Author SHA1 Message Date
Victor Julien 13cebb1857 detect: fix heap overflow issue with buffer setup
In some cases, the InspectionBufferGet function would be followed by
a failure to set the buffer up, for example due to a HTTP body limit
not yet being reached. Yet each call to InspectionBufferGet would lead
to the matching list_id to be added to the
DetectEngineThreadCtx::inspect.to_clear_queue. This array is sized to
add each list only once, but in this case the same id could be added
multiple times, potentially overflowing the array.
5 years ago
Victor Julien 84385549fe detect: remove unused arg from generic list inspect 5 years ago
Victor Julien 35310313de detect/http2: inspect API v2 5 years ago
Philippe Antoine 1422b18a99 http2: initial support 5 years ago