]> git.ipfire.org Git - thirdparty/suricata.git/commit
detect/transform: handle overlapping dotprefix 12154/head 12160/head
authorPhilippe Antoine <pantoine@oisf.net>
Tue, 26 Nov 2024 21:34:13 +0000 (22:34 +0100)
committerPhilippe Antoine <pantoine@oisf.net>
Tue, 26 Nov 2024 21:34:13 +0000 (22:34 +0100)
commitc3a6abf60134c2993ee3802ee52206e9fdbf55ba
tree52d71d43852627f3490992fc8f4d82a8efd00fcc
parentfccb3280d389ec75e1475b27cfc0972226731299
detect/transform: handle overlapping dotprefix

If there is a transform before dotprefix, it operates in place
in a single buffer, and must therefore use memmove instead of memcpy
to avoid UB.

Ticket: 7229
src/detect-transform-dotprefix.c