]> git.ipfire.org Git - thirdparty/haproxy.git/commit
CLEANUP: tcpcheck: remove the only occurrence of sprintf() in the code
authorWilly Tarreau <w@1wt.eu>
Fri, 7 Apr 2023 13:06:42 +0000 (15:06 +0200)
committerWilly Tarreau <w@1wt.eu>
Fri, 7 Apr 2023 14:04:54 +0000 (16:04 +0200)
commita0fa577070bdeaf5f1c559eee0fa435122d5d5c6
tree5f52bd3c427ae060ebaac47ceda3a38bb0ede146
parent22450af22aa112a4bcba1014db8d654208e72121
CLEANUP: tcpcheck: remove the only occurrence of sprintf() in the code

There's a single sprintf() in the whole code, in the "option smtpchk"
parser in tcpcheck.c. Let's turn it to a safer snprintf().
src/tcpcheck.c