]> git.ipfire.org Git - thirdparty/haproxy.git/commit
BUG/MINOR: sink: fix errors handling in cfg_post_parse_ring()
authorAurelien DARRAGON <adarragon@haproxy.com>
Mon, 10 Jul 2023 14:26:08 +0000 (16:26 +0200)
committerChristopher Faulet <cfaulet@haproxy.com>
Mon, 10 Jul 2023 16:28:08 +0000 (18:28 +0200)
commit9859e00981fa29d6ab8dfa5bfc479aefb0a1bcf5
tree744b3abfac1db3f5c56f2a69ed0b751e532ce933
parenta26b736300a9da9f4d4e9723ef9b9d234dd6092c
BUG/MINOR: sink: fix errors handling in cfg_post_parse_ring()

Multiple error paths (memory,IO related) in cfg_post_parse_ring() were
not implemented correcly and could result in memory leak or undefined
behavior.

Fixing them all at once.

This can be backported in 2.4
src/sink.c