commit | 2866acfb2361dc4416faeaaf45401e083651d6a2 | [log] [tgz] |
---|---|---|
author | Dragan Dosen <ddosen@haproxy.com> | Tue Jun 30 21:16:43 2020 +0200 |
committer | Willy Tarreau <w@1wt.eu> | Wed Jul 01 06:30:50 2020 +0200 |
tree | efc04a7212af174ced66140a8a185b699f53866e | |
parent | b4cf7ab9bc413bbb956e225f903959bff17e4049 [diff] |
BUG/MEDIUM: log-format: fix possible endless loop in parse_logformat_string() This patch adds a missing break to end the loop in case when '%[' is not properly closed with ']'. The issue has been introduced with commit cd0d2ed ("MEDIUM: log-format: make the LF parser aware of sample expressions' end").