BUG/MINOR: checks: Set missing id to the dummy checks frontend
authorChristopher Faulet <cfaulet@haproxy.com>
Fri, 16 Apr 2021 08:49:07 +0000 (10:49 +0200)
committerChristopher Faulet <cfaulet@haproxy.com>
Sat, 17 Apr 2021 09:14:58 +0000 (11:14 +0200)
commit0f1fc23d4e3060c4277c11c9f1f41c27d8e54fbf
tree919a9f9f79765f55de85ff198b51ec6a30cacf99
parent76b44195c9020e0f2cab4d983e9346d9de6c895f
BUG/MINOR: checks: Set missing id to the dummy checks frontend

The dummy frontend used to create the session of the tcp-checks is
initialized without identifier. However, it is required because this id may
be used without any guard, for instance in log-format string via "%f" or
when fe_name sample fetch is called. Thus, an unset id may lead to crashes.

This patch must be backported as far as 2.2.
src/check.c