]> git.ipfire.org Git - thirdparty/suricata.git/commit
detect/bytejump: Improve negative post_offset handling. 9613/head
authorJeff Lucovsky <jlucovsky@oisf.net>
Fri, 8 Sep 2023 14:09:52 +0000 (10:09 -0400)
committerShivani Bhardwaj <shivanib134@gmail.com>
Sat, 14 Oct 2023 08:15:51 +0000 (13:45 +0530)
commit12d2ae6574b7c2e4b644e1cebfdc9eadf69fe3d2
treea6b521d66fb74eabbb534d062a2f69de93a4d09f
parentd1bd80fce61a9f0a4207713ee3cc9d3f489a8a61
detect/bytejump: Improve negative post_offset handling.

Issue: 4624

Handle negative post_offset values that jump before the buffer as though
they refer to the buffer start.

(cherry picked from commit 2bf9d0fdf9778b48c3db8d39e51c6129e19213a3)
src/detect-bytejump.c