From a1662b57cc0fb6f15d3e380d01c80084d8fb2be0 Mon Sep 17 00:00:00 2001 From: Vsevolod Stakhov Date: Fri, 26 Aug 2016 14:32:36 +0100 Subject: [PATCH] [Fix] Fix issue with empty messages and dkim Issue: #880 --- src/libserver/dkim.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/libserver/dkim.c b/src/libserver/dkim.c index d38fe6cb1..3c4d7ed36 100644 --- a/src/libserver/dkim.c +++ b/src/libserver/dkim.c @@ -1316,7 +1316,7 @@ rspamd_dkim_skip_empty_lines (const gchar *start, const gchar *end, } state = init; guint skip = 0; - while (p >= start + 1) { + while (p >= start) { switch (state) { case init: if (*p == '\r') { -- 2.39.5