]> git.ipfire.org Git - thirdparty/haproxy.git/commit
BUG/MINOR: tools: Reject size format not starting by a digit
authorChristopher Faulet <cfaulet@haproxy.com>
Fri, 11 Dec 2020 08:30:45 +0000 (09:30 +0100)
committerChristopher Faulet <cfaulet@haproxy.com>
Fri, 11 Dec 2020 11:01:07 +0000 (12:01 +0100)
commit82635a0fc1d8196e5b199e2948d2bea4b1217ace
tree9ebeacd2f6fb7a136978a04d57363ce5aa18021b
parentc20ad0d8dbd1bb5707bbfe23632415c3062e046c
BUG/MINOR: tools: Reject size format not starting by a digit

parse_size_err() function is now more strict on the size format. The first
character must be a digit. Otherwise an error is returned. Thus "size k" is
now rejected.

This patch must be backported to all stable versions.
src/tools.c