]> git.ipfire.org Git - thirdparty/haproxy.git/commit
BUG/MINOR: sample: exit regsub() in case of trash allocation error
authorWilly Tarreau <w@1wt.eu>
Tue, 18 Feb 2020 13:27:44 +0000 (14:27 +0100)
committerWilly Tarreau <w@1wt.eu>
Tue, 18 Feb 2020 13:27:44 +0000 (14:27 +0100)
commit23997daf4e23290c515014cedd04e3419029fb7b
tree2c7eec3b56f73f8ef4ee37609546e4baaa7b209e
parent0f19e43f2e43024c169b81430e430992352243e3
BUG/MINOR: sample: exit regsub() in case of trash allocation error

As reported in issue #507, since commiy 07e1e3c93e ("MINOR: sample:
regsub now supports backreferences") we must not proceed in regsub()
if we fali to allocate a trash (which in practice never happens). No
backport needed.
src/sample.c