From: Vsevolod Stakhov Date: Tue, 30 Mar 2021 19:30:09 +0000 (+0100) Subject: [Fix] Fix last quote character parsing in the content-type state machine X-Git-Tag: 3.0~540 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=983084adb045c84c60e8135b43294c3b37253ea5;p=thirdparty%2Frspamd.git [Fix] Fix last quote character parsing in the content-type state machine --- diff --git a/src/libmime/content_type.c b/src/libmime/content_type.c index 8c50a484e0..84a93602f6 100644 --- a/src/libmime/content_type.c +++ b/src/libmime/content_type.c @@ -509,6 +509,7 @@ rspamd_content_type_parser (gchar *in, gsize len, rspamd_mempool_t *pool) if (p == end) { /* Last quote: done... */ + state = parse_space; break; }