]> git.kaiwu.me - haproxy.git/commit
BUG/MINOR: ot: fixed wrong NULL check in flt_ot_parse_cfg_group()
authorMiroslav Zagorac <mzagorac@haproxy.com>
Wed, 18 Jan 2023 18:33:21 +0000 (19:33 +0100)
committerWilliam Lallemand <wlallemand@haproxy.com>
Mon, 13 Apr 2026 07:23:30 +0000 (09:23 +0200)
commit124e32ad7852b407bc583268d6149a3246b8f99b
treedec81feaa88775833d368fce6658a2fe720db95d
parent9fa34e592a324579b1ede4f7dd8a2ee756a675e1
BUG/MINOR: ot: fixed wrong NULL check in flt_ot_parse_cfg_group()

After calling flt_ot_conf_group_init() and storing the result in
flt_ot_current_group, the code incorrectly checked flt_ot_current_config
for NULL instead of the newly assigned flt_ot_current_group.  This meant
a failed group init was never detected and the error path was never taken.
addons/ot/src/parser.c