]> git.ipfire.org Git - thirdparty/haproxy.git/commit
BUG/MEDIUM: ssl: fix the gcc-12 broken fix :-(
authorWilly Tarreau <w@1wt.eu>
Mon, 9 May 2022 19:14:04 +0000 (21:14 +0200)
committerWilly Tarreau <w@1wt.eu>
Mon, 9 May 2022 19:16:13 +0000 (21:16 +0200)
commit63fc900ba282437b96868103f1eb7db9ee7f482c
tree7a35e31767a4f09f74c9da92a13ca69cd960a1ff
parentd86793479fbd21a976d5baa0bbc383c65cfac490
BUG/MEDIUM: ssl: fix the gcc-12 broken fix :-(

... or how a bogus warning forces you to do tricky changes in your code
and fail on a length test condition! Fortunately it changed in the right
direction that immediately broke, due to a missing "> sizeof(path)" that
had to be added to the already ugly condition.

This fixes recent commit 393e42ae5 ("BUILD: ssl: work around bogus warning
in gcc 12's -Wformat-truncation"). It may have to be backported if that
one is backported.
src/ssl_crtlist.c