]> git.ipfire.org Git - thirdparty/haproxy.git/commit
BUG/MINOR: cfgparse: Fail if the strdup() for `rule->be.name` for `use_backend` fails
authorTim Duesterhus <tim@bastelstu.be>
Sun, 3 Jan 2021 21:54:43 +0000 (22:54 +0100)
committerWilly Tarreau <w@1wt.eu>
Tue, 5 Jan 2021 10:37:41 +0000 (11:37 +0100)
commit5ce5a1586d8c67affa604dedf0faa2c5a02ecab5
tree10e3bf5202361a47bf0e5f5fe0c8d54046876a2d
parent782e9be1b3659ff973eed62837c5fe4eca6d376e
BUG/MINOR: cfgparse: Fail if the strdup() for `rule->be.name` for `use_backend` fails

This patch fixes GitHub issue #1024.

I could track the `strdup` back to commit
3a1f5fda109fc56ae127d03eaf34ce027c9542e1 which is 1.9-dev8. It's probably not
worth the effort to backport it across this refactoring.

This patch should be backported to 1.9+.
src/cfgparse-listen.c