]> git.ipfire.org Git - thirdparty/suricata.git/commit
detect: use buffer ptr in validate callback api
authorPhilippe Antoine <pantoine@oisf.net>
Tue, 15 Oct 2024 13:28:19 +0000 (15:28 +0200)
committerVictor Julien <victor@inliniac.net>
Thu, 3 Apr 2025 08:05:38 +0000 (10:05 +0200)
commit5ae215605c3e81a5f8fecc2a67e4aaafb10d23d5
tree53e031e710bb398725e4e8f28c72b46758b8a6ea
parent4da69a52fe9017219707c89023e8843a9df6c015
detect: use buffer ptr in validate callback api

Ticket: 5634

Allows to share the same validator functions when only the buffer
id is changing like for urilen, while still accessing the buffer
name for error logs
19 files changed:
src/detect-engine.c
src/detect-engine.h
src/detect-http-host.c
src/detect-http-method.c
src/detect-http-protocol.c
src/detect-http-raw-header.c
src/detect-http-uri.c
src/detect-quic-cyu-hash.c
src/detect-sip-method.c
src/detect-sip-uri.c
src/detect-ssh-hassh-server.c
src/detect-ssh-hassh.c
src/detect-tls-cert-fingerprint.c
src/detect-tls-cert-serial.c
src/detect-tls-ja3-hash.c
src/detect-tls-ja3s-hash.c
src/detect-urilen.c
src/detect-urilen.h
src/detect.h