]> git.ipfire.org Git - thirdparty/haproxy.git/commit
BUG/MEDIUM: variables: some variable name can hide another ones
authorThierry FOURNIER / OZON.IO <thierry.fournier@ozon.io>
Mon, 12 Dec 2016 11:42:14 +0000 (12:42 +0100)
committerWilly Tarreau <w@1wt.eu>
Mon, 12 Dec 2016 13:34:56 +0000 (14:34 +0100)
commitd2f6f47597844e07c393bf9224c99bc31538512c
tree846aba1e8d5e66efec942fc22079265f76511579
parentfb981bd7d1ca8c23097b0e70f3d4169820abd04e
BUG/MEDIUM: variables: some variable name can hide another ones

The variable are compared only using text, the final '\0' (or the
string length) are not checked. So, the variable name "txn.internal"
matchs other one call "txn.int".

This patch fix this behavior

It must be backported ni 1.6 and 1.7
src/vars.c