]> git.ipfire.org Git - thirdparty/haproxy.git/commit
BUG/MINOR: opentracing: setting the return value in function flt_ot_var_set()
authorMiroslav Zagorac <mzagorac@haproxy.com>
Tue, 1 Mar 2022 17:42:54 +0000 (18:42 +0100)
committerWilly Tarreau <w@1wt.eu>
Fri, 8 Apr 2022 14:31:33 +0000 (16:31 +0200)
commit728627f932fcc9e07df7d2af3e0df9f50102203a
tree448549c8dbf9326a7133d0642c013119ce697972
parent8c7927c6dd57769bdd0661defa50b7cbcb280088
BUG/MINOR: opentracing: setting the return value in function flt_ot_var_set()

Function flt_ot_var_set() did not check whether the variable was
successfully set or not.  In case of failure, the value -1 is returned.

This patch must be backported as far as 2.4.
addons/ot/src/vars.c