]> git.ipfire.org Git - thirdparty/rspamd.git/commit
[Fix] Fix segfault due to incorrect HTML features access
authorVsevolod Stakhov <vsevolod@rspamd.com>
Sun, 5 Oct 2025 16:09:46 +0000 (17:09 +0100)
committerVsevolod Stakhov <vsevolod@rspamd.com>
Sun, 5 Oct 2025 16:09:46 +0000 (17:09 +0100)
commita13f79a6552b98dc3ca2799b4643a8f779bb44c5
treeb53e8f7edbd6d88ce0de83f6b87b8b7c21ed9e5f
parentabf179fdbf23cfd5dd1734501fdc3580c491208b
[Fix] Fix segfault due to incorrect HTML features access

The fuzzy_cmd_from_html_part() function incorrectly accessed HTML features
via part->html_features (which doesn't exist), causing segmentation faults.
Fixed to use the correct path part->html->features for accessing tags_count,
links.total_links, and max_dom_depth properties.
src/plugins/fuzzy_check.c