From: Vsevolod Stakhov Date: Sun, 4 Jan 2026 18:03:14 +0000 (+0000) Subject: [Fix] Use correct .hs extension in multipattern fpath X-Git-Tag: 4.0.0~208^2~27 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=a367a5595aa2f0c8cff5aaeccab9130611da5e87;p=thirdparty%2Frspamd.git [Fix] Use correct .hs extension in multipattern fpath --- diff --git a/src/libutil/multipattern.c b/src/libutil/multipattern.c index 9b72931aa9..9f53d3e77e 100644 --- a/src/libutil/multipattern.c +++ b/src/libutil/multipattern.c @@ -529,7 +529,7 @@ rspamd_multipattern_compile(struct rspamd_multipattern *mp, int flags, GError ** if (!(flags & RSPAMD_MULTIPATTERN_COMPILE_NO_FS)) { if (hs_cache_dir != NULL) { char fpath[PATH_MAX]; - rspamd_snprintf(fpath, sizeof(fpath), "%s/%*xs.hsmp", hs_cache_dir, + rspamd_snprintf(fpath, sizeof(fpath), "%s/%*xs.hs", hs_cache_dir, (int) rspamd_cryptobox_HASHBYTES / 2, hash); mp->hs_db = rspamd_hyperscan_from_raw_db(db, fpath); }