]> git.ipfire.org Git - thirdparty/haproxy.git/commit
BUG/MINOR: http: abort request processing on filter failure
authorWilly Tarreau <w@1wt.eu>
Fri, 30 Jan 2015 19:58:58 +0000 (20:58 +0100)
committerWilly Tarreau <w@1wt.eu>
Fri, 30 Jan 2015 19:58:58 +0000 (20:58 +0100)
commit34d4c3c13f0172f0f8f0dd99f92c61e7eb78e98f
treedabc69c24cb607f7ee1804c93375b7b11204c178
parent32602d23610981b48143d1f82885b8cfae286e0f
BUG/MINOR: http: abort request processing on filter failure

Commit c600204 ("BUG/MEDIUM: regex: fix risk of buffer overrun in
exp_replace()") added a control of failure on the response headers,
but forgot to check for the error during request processing. So if
the filters fail to apply, we could keep the request. It might
cause some headers to silently fail to be added for example. Note
that it's tagged MINOR because a standard configuration cannot make
this case happen.

The fix should be backported to 1.5 and 1.4 though.
src/proto_http.c