[Rspamd-Users] Rspamd 2.0 has been released

Vsevolod Stakhov vsevolod at rspamd.com
Mon Oct 21 13:34:13 UTC 2019


On 21/10/2019 12:07, Aste wrote:
> Hello,
> 
> After  some  research  I  found  that  crash  is caused by spamassassin
> module, in case when non English character is presented in regexp.
> 
> spamassassin rule which can cause crash attached.
> 
> 
> 
> Monday, October 14, 2019, 3:27:02 PM, you wrote:
> 
> A> Hi!
> 
> A> Friday, October 11, 2019, 8:00:58 PM, you wrote:
> VS>> We have released Rspamd 2.0 today!
> 
> VS>> Upgrade notes
> 
> VS>> There are various important features in this release. The vast majority
> VS>> of those should not have any visible impact on the existing systems.
> VS>> However, you are recommended to read the Upgrade Notes.
> 
> A> After upgrading from, 1.94 to 2.0 I started repeatedly getting errors:
> 
> A> 2019-10-14 14:09:01 #4014(hs_helper) <805264>; main;
> A> rspamd_fork_worker: starting hs_helper process 4014 (0)
> A> 2019-10-14 14:09:04 #4014(hs_helper) glib;
> A> rspamd_glib_printerr_function: **
> A> ERROR:/rspamd-2.0/src/libutil/str_util.c:2812:rspamd_str_regexp_escape: assertion failed: (d < dend)
> A> 2019-10-14 14:09:04 #4014(hs_helper) rspamd_crash_sig_handler:
> A> caught fatal signal 6(Aborted), pid: 4014, trace:
> 
> A> any ideas where to look?
> A> OS Ubuntu 18.04.3 LTS

This regexp is broken. Never EVER use anything but utf8 in regular
expressions in Rspamd. I cannot reproduce crash btw with the current
master. Anyway, a broken regexp means broken behaviour...


More information about the Users mailing list