]> git.ipfire.org Git - thirdparty/haproxy.git/commit
MEDIUM: pattern: ensure that sample types always cast into other types.
authorWilly Tarreau <w@1wt.eu>
Wed, 25 Apr 2012 15:21:49 +0000 (17:21 +0200)
committerWilly Tarreau <w@1wt.eu>
Tue, 8 May 2012 18:57:17 +0000 (20:57 +0200)
commit12e5011a765e2e65090d3b27c1ecb4a8650f0a5d
treebb00c74a26d2f0af67622940e8f97a2cf9fcc4ec
parent25c1ebc0c99a5cd1329bdea843e9e9c6f20808d8
MEDIUM: pattern: ensure that sample types always cast into other types.

We want to ensure that a dynamically returned type will always have a
cast before calling the cast function. This is done in pattern_process()
and in stktable_fetch_key().
src/pattern.c
src/stick_table.c