]> source.dussan.org Git - rspamd.git/commit
[Fix] Another story about char sign
authorVsevolod Stakhov <vsevolod@rspamd.com>
Mon, 4 Nov 2024 16:03:34 +0000 (16:03 +0000)
committerVsevolod Stakhov <vsevolod@rspamd.com>
Mon, 4 Nov 2024 16:03:34 +0000 (16:03 +0000)
commit3548785ebdc0e9a9aefc782c85bccb08456e8f3f
tree7577414613aa45d28c7444eb5ef9ca39ee9b47c1
parent80cb50dea482246656a49e54a915bdc343ffe897
[Fix] Another story about char sign

Ragel still produces a wrong state machine if `const char *` is used
for characters representation that are actually utf8.

This PR changes all types to `unsigned char *` for consistency.
src/ragel/smtp_addr_parser.rl
test/lua/unit/smtp_addr.lua