]> git.ipfire.org Git - thirdparty/haproxy.git/commit
BUG/MEDIUM: payload: ensure that a request channel is available
authorWilly Tarreau <w@1wt.eu>
Wed, 26 Nov 2014 12:24:24 +0000 (13:24 +0100)
committerWilly Tarreau <w@1wt.eu>
Wed, 26 Nov 2014 12:32:22 +0000 (13:32 +0100)
commit83f2592bcd2e186beeabcba16be16faaab82bd39
tree7c03ec62ab6a641dad9bb17f39f0ddacf6206217
parent4deaf39243c4d941998b1b0175bad05b8a287c0b
BUG/MEDIUM: payload: ensure that a request channel is available

Denys Fedoryshchenko reported a segfault when using certain
sample fetch functions in the "tcp-request connection" rulesets
despite the warnings. This is because some tests for the existence
of the channel were missing.

The fetches which were fixed are :
  - req.ssl_hello_type
  - rep.ssl_hello_type
  - req.ssl_sni

This fix must be backported to 1.5.
src/payload.c