commit 8bc7d86: [Fix] Core: Fix part length when dealing with boundaries
Vsevolod Stakhov
vsevolod at highsecure.ru
Thu Dec 27 18:28:09 UTC 2018
Author: Vsevolod Stakhov
Date: 2018-12-17 14:35:59 +0000
URL: https://github.com/rspamd/rspamd/commit/8bc7d8632f0afa88da01a1c86379daf755e4c168
[Fix] Core: Fix part length when dealing with boundaries
---
src/libmime/mime_parser.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/libmime/mime_parser.c b/src/libmime/mime_parser.c
index 3b84cbbbf..2ba48e372 100644
--- a/src/libmime/mime_parser.c
+++ b/src/libmime/mime_parser.c
@@ -925,7 +925,7 @@ rspamd_mime_preprocess_cb (struct rspamd_multipattern *mp,
bend ++;
}
- b.boundary = p - st->start - 3;
+ b.boundary = p - st->start - 2;
b.start = bend - st->start;
if (closing) {
More information about the Commits
mailing list