]> git.ipfire.org Git - thirdparty/haproxy.git/commit
BUG/MAJOR: tcp: only call registered actions when they're registered
authorWilly Tarreau <w@1wt.eu>
Fri, 24 Apr 2015 08:10:53 +0000 (10:10 +0200)
committerWilly Tarreau <w@1wt.eu>
Fri, 24 Apr 2015 08:13:18 +0000 (10:13 +0200)
commite91ffd093e548aa08d7ccb835fd261f3d71ffb17
tree78e38b5676060287d107c3358fe5e6cd9077c70f
parent0b1a4541dc199abca5eb3af1ec58c239ad2a3d9b
BUG/MAJOR: tcp: only call registered actions when they're registered

Commit cc87a11 ("MEDIUM: tcp: add register keyword system.") introduced
the registration of new keywords for TCP rulesets. Unfortunately it
replaced the "accept" action with an unconditionnal call to the rule's
action function, resulting in an immediate segfault when using the
"accept" action in a TCP ruleset.

This bug reported by Baptiste Assmann was introduced in 1.6-dev1, no
backport is needed.
src/proto_tcp.c