commit c9bc03f: [Fix] Fix '==' parsing in the content type attributes parser
Vsevolod Stakhov
vsevolod at highsecure.ru
Tue Mar 30 19:49:05 UTC 2021
Author: Vsevolod Stakhov
Date: 2021-03-30 20:43:48 +0100
URL: https://github.com/rspamd/rspamd/commit/c9bc03f1cce3303b7ee8896b88be2b2733110d99 (HEAD -> master)
[Fix] Fix '==' parsing in the content type attributes parser
---
src/libmime/content_type.c | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)
diff --git a/src/libmime/content_type.c b/src/libmime/content_type.c
index 7c0ff3743..4aa72cc7d 100644
--- a/src/libmime/content_type.c
+++ b/src/libmime/content_type.c
@@ -441,8 +441,7 @@ rspamd_content_type_parser (gchar *in, gsize len, rspamd_mempool_t *pool)
/* Treat as value start */
c = p;
eqsign_seen = FALSE;
- state = parse_space;
- next_state = parse_param_value;
+ state = parse_param_value;
p++;
} else {
eqsign_seen = TRUE;
More information about the Commits
mailing list