]> git.ipfire.org Git - thirdparty/haproxy.git/commit
BUG/MINOR: mux-h1: Fix a UAF in cfg_h1_headers_case_adjust_postparser()
authorChristopher Faulet <cfaulet@haproxy.com>
Tue, 30 Jul 2019 14:51:42 +0000 (16:51 +0200)
committerChristopher Faulet <cfaulet@haproxy.com>
Fri, 6 Sep 2019 06:59:23 +0000 (08:59 +0200)
commitcac5c094d1da360dd78c188b89c0f7fd52569d61
tree52787b3ed7f7e6488d322ea015447cf3a4315a76
parentc5940392255e5a5a7eb0d27be62e155f1aec26c6
BUG/MINOR: mux-h1: Fix a UAF in cfg_h1_headers_case_adjust_postparser()

When an error occurs in the post-parser callback which checks configuration
validity of the option outgoing-headers-case-adjust-file, the error message is
freed too early, before being used.

No backport needed. It fixes the github issue #258.
src/mux_h1.c