diff options
author | Vsevolod Stakhov <vsevolod@rspamd.com> | 2024-11-18 18:43:03 +0000 |
---|---|---|
committer | Vsevolod Stakhov <vsevolod@rspamd.com> | 2024-11-18 18:43:03 +0000 |
commit | 9bd616ca7aca3ff3fcd3a051e110f2d6e9abc76b (patch) | |
tree | 7dff5fcc31a0e97b8a612348889dcbf2e4a40724 /src | |
parent | 5298f6ce75da70ad4c906bc9180f0ac4b9d86ec0 (diff) | |
download | rspamd-9bd616ca7aca3ff3fcd3a051e110f2d6e9abc76b.tar.gz rspamd-9bd616ca7aca3ff3fcd3a051e110f2d6e9abc76b.zip |
[Fix] Sigh, another fixvstakhov-fix-2047-encode
Diffstat (limited to 'src')
-rw-r--r-- | src/libmime/mime_headers.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libmime/mime_headers.c b/src/libmime/mime_headers.c index f33311bbf..63419d6a3 100644 --- a/src/libmime/mime_headers.c +++ b/src/libmime/mime_headers.c @@ -863,7 +863,7 @@ rspamd_mime_header_encode(const char *in, gsize len, bool is_structured) if (need_encoding && (c == '(' || c == ')')) { /* If we need to encode, we must stop on comments characters */ - piece_len = i + 1; + piece_len = i; q = p + piece_len; /* No more space */ break; |