]> git.ipfire.org Git - thirdparty/haproxy.git/commit
BUG/MEDIUM: mailers: Set the object type for check attached to an email alert
authorChristopher Faulet <cfaulet@haproxy.com>
Wed, 8 Jun 2022 07:17:14 +0000 (09:17 +0200)
committerChristopher Faulet <cfaulet@haproxy.com>
Wed, 8 Jun 2022 13:28:38 +0000 (15:28 +0200)
commit58e35019108a69d5ac9d68d07732a92499783376
treeecf96691f9ddd06467e0da582e94b72e2481fda2
parent4f1825c5dba44f1c0df5aa22dd96b937a70b4d29
BUG/MEDIUM: mailers: Set the object type for check attached to an email alert

The health-check attached to an email alert has no type. It is unexpected,
and since the 2.6, it is important because we rely on it to know the
application type in front of a connection at the stream-connector
level. Because the object type is not set, the SE descriptor is not properly
initialized, leading to a segfault when a connection to the SMTP server is
established.

This patch must be backported to 2.6 and may be backported as far as
2.0. However, it is only an issue for the 2.6 and upper.
src/mailers.c