]> git.ipfire.org Git - thirdparty/suricata.git/commit
detect/transforms: in place modifications of buffers 12213/head
authorPhilippe Antoine <pantoine@oisf.net>
Sun, 24 Nov 2024 21:32:05 +0000 (22:32 +0100)
committerVictor Julien <victor@inliniac.net>
Tue, 3 Dec 2024 13:00:56 +0000 (14:00 +0100)
commitb58b886db755c60c9616af64808c9f0983849106
tree0c85bc3269dd698e1b424b65be4eb558a3c0f677
parente9173f3b069b201448ebc808610406157e56cef6
detect/transforms: in place modifications of buffers

As is the case when chaining multiple transforms.
Avoids using memcpy in these cases.

Add tests for these cases.

Ticket: 7409
rust/src/detect/transforms/compress_whitespace.rs
rust/src/detect/transforms/dotprefix.rs
rust/src/detect/transforms/hash.rs
rust/src/detect/transforms/http_headers.rs
rust/src/detect/transforms/strip_whitespace.rs
rust/src/detect/transforms/urldecode.rs
rust/src/detect/transforms/xor.rs