]> git.ipfire.org Git - thirdparty/suricata.git/commit
detect/xbits: timeout handling precision improvement
authorPhilippe Antoine <pantoine@oisf.net>
Wed, 14 May 2025 18:52:02 +0000 (20:52 +0200)
committerVictor Julien <victor@inliniac.net>
Fri, 16 May 2025 19:33:52 +0000 (21:33 +0200)
commitbad7d2f16d1a924ffb4449cbf4972356763ec9f5
tree5c78abbe2b5d7c87397c3b491ad6489d0f08d6b8
parent259a304f3e99ad012f091c8b39504f2272d50da5
detect/xbits: timeout handling precision improvement

As found by -Wshorten-64-to-32 warnings

Ticket: #6186

Use SCTime_t instead of u32, which increases memory usage for
the structures changed here, while making it more correct.
src/detect-hostbits.c
src/detect-xbits.c
src/host-bit.c
src/host-bit.h
src/ippair-bit.c
src/ippair-bit.h
src/runmode-unix-socket.c
src/tx-bit.c
src/util-var.h