]> git.ipfire.org Git - thirdparty/haproxy.git/commit
BUG/MEDIUM: map: The map parser includes blank lines.
authorThierry FOURNIER <tfournier@exceliance.fr>
Wed, 26 Feb 2014 17:30:13 +0000 (18:30 +0100)
committerWilly Tarreau <w@1wt.eu>
Wed, 12 Mar 2014 18:32:18 +0000 (19:32 +0100)
commit338a031e29e4ac514c5bcf0caf4e16ce8afff5df
tree7029668e0546bdc4167aadd6363de3c3c024db4b
parent4a4e6bca60ebac272242a972d0603b1fe6ccf3f2
BUG/MEDIUM: map: The map parser includes blank lines.

The parser check the end line comparing to the null character.
In fact, the end of line can be also '\r' or '\n'.

The effect is that empty lines are loaded and indexed in maps.

The bug was introduced by commit d5f624dd ("MEDIUM: sample:
add the "map" converter") in 1.5-dev20. No backport is needed.
src/map.c