From: Tim Duesterhus Date: Tue, 16 Jun 2020 16:14:21 +0000 (+0200) Subject: BUG/MINOR: cfgparse: Add missing fatal++ in PARSE_ERR_HEX case X-Git-Tag: v2.2-dev10~38 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=9f658a554f046f6b386bfa8410cafae0151bda8f;p=thirdparty%2Fhaproxy.git BUG/MINOR: cfgparse: Add missing fatal++ in PARSE_ERR_HEX case This fixes up commit 32234e751320b60a3879f274d4a4753d7570e757. This patch should be backported whereever that commit is backported. --- diff --git a/src/cfgparse.c b/src/cfgparse.c index 9f44c7566b..fdbf3a4066 100644 --- a/src/cfgparse.c +++ b/src/cfgparse.c @@ -1955,6 +1955,7 @@ next_line: ha_alert("parsing [%s:%d]: truncated or invalid hexadecimal sequence below:\n" " %s\n %*s\n", file, linenum, line, (int)(errptr-line+1), "^"); err_code |= ERR_ALERT | ERR_FATAL; + fatal++; goto next_line; }