]> git.ipfire.org Git - thirdparty/rspamd.git/commit
[Fix] Fix HTML shingles hash generation bugs
authorVsevolod Stakhov <vsevolod@rspamd.com>
Wed, 8 Oct 2025 15:12:02 +0000 (16:12 +0100)
committerVsevolod Stakhov <vsevolod@rspamd.com>
Wed, 8 Oct 2025 15:12:02 +0000 (16:12 +0100)
commitb466e981feb2a37ef8c8637e79002f8a549e8db5
treee8299f9b21712ca7fcbc93a0bfe5b27c553717da
parentfff8bc26b976dd9201ccf58dc921df809a8de61f
[Fix] Fix HTML shingles hash generation bugs

- Skip empty domains in hash_domain_list and hash_top_domains
- Validate HTML features are initialized before hashing
- Return zero hash for invalid/empty input instead of garbage
src/libutil/shingles_html.cxx