]> git.ipfire.org Git - thirdparty/haproxy.git/commit
CLEANUP: tools: Crash if inet_ntop fails due to ENOSPC in sa2str
authorTim Duesterhus <tim@bastelstu.be>
Mon, 23 May 2022 07:30:49 +0000 (09:30 +0200)
committerWilly Tarreau <w@1wt.eu>
Mon, 23 May 2022 07:39:32 +0000 (09:39 +0200)
commit22535a56a785d45dd0537e36eb90921662efd1dd
tree4bc853e4a0e8e07a9bc9d2eb61311e9c9b99d13f
parent162f0875adbe1418ef3cabf68bf1c70ba94e4f56
CLEANUP: tools: Crash if inet_ntop fails due to ENOSPC in sa2str

This is impossible, because we pass a destination buffer that is appropriately
sized to hold an IPv6 address.

This is related to GitHub issue #1599.
src/tools.c