commit | 23997daf4e23290c515014cedd04e3419029fb7b | [log] [tgz] |
---|---|---|
author | Willy Tarreau <w@1wt.eu> | Tue Feb 18 14:27:44 2020 +0100 |
committer | Willy Tarreau <w@1wt.eu> | Tue Feb 18 14:27:44 2020 +0100 |
tree | 2c7eec3b56f73f8ef4ee37609546e4baaa7b209e | |
parent | 0f19e43f2e43024c169b81430e430992352243e3 [diff] |
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.