]> source.dussan.org Git - rspamd.git/commit
[Fix] Use unsigned char for ragel machines
authorVsevolod Stakhov <vsevolod@rspamd.com>
Mon, 14 Oct 2024 19:23:02 +0000 (20:23 +0100)
committerVsevolod Stakhov <vsevolod@rspamd.com>
Mon, 14 Oct 2024 19:23:02 +0000 (20:23 +0100)
commit395c6641b2fc5751776b26baabec21ea8e83f375
treec0c4ab21f528ab17afd2709ec6b2bfae2781b07f
parentd4152285036ca9f304bb8d616858b07e01f23b1e
[Fix] Use unsigned char for ragel machines

It seems that on aarch64 Linux char is signed by default, so Ragel produces
a wrong code that is "optimized" by a compiler simply to `false`.

Issue: #5172
src/ragel/smtp_base.rl