]> git.ipfire.org Git - thirdparty/rspamd.git/commit
[Fix] Fuzzy TCP: fix printf formats, buffer overflow, and timeout handling
authorVsevolod Stakhov <vsevolod@rspamd.com>
Tue, 7 Oct 2025 13:53:16 +0000 (14:53 +0100)
committerVsevolod Stakhov <vsevolod@rspamd.com>
Tue, 7 Oct 2025 13:53:16 +0000 (14:53 +0100)
commit0ee8949eb375ea9a3317cbff6bddb8c7b8d36994
tree75705669cf56dfa5e6137877107503589d8c3094
parent2034e903cc2306411f7de00db56efed3247a920d
[Fix] Fuzzy TCP: fix printf formats, buffer overflow, and timeout handling

- Fix printf format strings: use %ud instead of %u (rspamd printf requirement)
- Fix TCP write handler buffer overflow when writing frame header
  (ASAN error: remaining was calculated incorrectly)
- Fix timeout handling: mark commands as replied and check session completion
  to prevent task hanging on connection/request timeouts
- Fix Robot Framework test variables: add RSPAMD_ prefix for proper export
- Remove debug config dump
src/plugins/fuzzy_check.c
test/functional/cases/120_fuzzy/lib.robot