]> git.ipfire.org Git - thirdparty/rspamd.git/commit
[Fix] Use rspamd printf format specifiers instead of GNU
authorVsevolod Stakhov <vsevolod@rspamd.com>
Wed, 4 Feb 2026 15:10:00 +0000 (15:10 +0000)
committerVsevolod Stakhov <vsevolod@rspamd.com>
Wed, 4 Feb 2026 15:10:00 +0000 (15:10 +0000)
commitefa297399c831744c471f28787c517c8b28c29b0
tree276bc91d068fe625d653fd735f90ed00074f6593
parent170c4c5d6e4e26c9118f443a8ce4464f8d765805
[Fix] Use rspamd printf format specifiers instead of GNU

Fix format strings in hs_cache_backend.c and re_cache.c to use rspamd's
custom printf specifiers:
- %uz for gsize (unsigned size_t), not %z
- %ud for unsigned int, not %u

The GNU format specifiers cause crashes on some platforms.
src/libserver/hs_cache_backend.c
src/libserver/re_cache.c