]> git.ipfire.org Git - thirdparty/haproxy.git/commit
BUG/MEDIUM: sample: Don't treat SMP_T_METH as SMP_T_STR.
authorOlivier Houchard <ohouchard@haproxy.com>
Fri, 7 Dec 2018 14:23:41 +0000 (15:23 +0100)
committerWilly Tarreau <w@1wt.eu>
Fri, 7 Dec 2018 14:31:43 +0000 (15:31 +0100)
commit4468f1cacbe833a04701fcd846be959bc07803f5
treeb502f1a2d269732e677c70022702c52729bf66b1
parent4d58ba79ddb94120f237a7f13af767b7b544def3
BUG/MEDIUM: sample: Don't treat SMP_T_METH as SMP_T_STR.

In smp_dup(), don't consider a SMP_T_METH with an unknown method the same as
SMP_T_STR. The string and string length aren't stored at the same place.

This should be backported to 1.8.
src/sample.c