From: Vsevolod Stakhov Date: Mon, 26 Dec 2016 00:27:33 +0000 (+0000) Subject: [Fix] Fix out of bounds access X-Git-Tag: 1.5.0~481 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=245ef066989feff7c13ce9e90e22adeb015730cf;p=thirdparty%2Frspamd.git [Fix] Fix out of bounds access --- diff --git a/src/libutil/str_util.c b/src/libutil/str_util.c index 7b65f53a79..3b3dc06b70 100644 --- a/src/libutil/str_util.c +++ b/src/libutil/str_util.c @@ -1936,6 +1936,7 @@ decode: if (G_LIKELY (*p == '=')) { p ++; /* Skip comparison, as we know that we have found match */ + remain --; goto decode; } else {