]> git.ipfire.org Git - thirdparty/haproxy.git/commit
BUG/MINOR: vars: make smp_fetch_var() more robust against misuses
authorWilly Tarreau <w@1wt.eu>
Fri, 21 Oct 2016 15:14:35 +0000 (17:14 +0200)
committerWilly Tarreau <w@1wt.eu>
Fri, 21 Oct 2016 15:53:46 +0000 (17:53 +0200)
commit7513d001c8a6b7d1cf8e7d5469942cd39d6e8160
tree3f24af370cfcadb07597cf9b3de86eafe0370b3c
parent108a8fd8be0c78a4bf147a2028fd9bda3343c93c
BUG/MINOR: vars: make smp_fetch_var() more robust against misuses

smp_fetch_var() may be called from everywhere since it just reads a
variable. It must ensure that the stream exists before trying to return
a stream-dependant variable. For now there is no impact but it will
cause trouble with tcp-request session rules.
src/vars.c