commit | 2fd5bdb439da29f15381aeb57c51327ba57674fc | [log] [tgz] |
---|---|---|
author | Tim Duesterhus <tim@bastelstu.be> | Mon Jun 22 22:57:45 2020 +0200 |
committer | Willy Tarreau <w@1wt.eu> | Tue Jun 23 05:14:59 2020 +0200 |
tree | bfe2944fa63b977c01e7a9209e02b233e6f90eaa | |
parent | 70f58997f47e8ed48fe9ec517d80a32c8d575bc0 [diff] |
MINOR: cfgparse: Warn on truncated lines / files As discussed on the list: https://www.mail-archive.com/haproxy@formilux.org/msg37698.html This patch adds warnings to the configuration parser that detect the following situations: - A line being truncated by a null byte in the middle. - A file not ending in a new line (and possibly being truncated).