commit | 162f0875adbe1418ef3cabf68bf1c70ba94e4f56 | [log] [tgz] |
---|---|---|
author | Tim Duesterhus <tim@bastelstu.be> | Sun May 22 13:06:27 2022 +0200 |
committer | Willy Tarreau <w@1wt.eu> | Mon May 23 08:45:31 2022 +0200 |
tree | c88cc24a53fd5b4b26bb24b1d135ba73fb12f78e | |
parent | 147eeb2ef3da803537cd09274244ff3349c7f009 [diff] |
BUG/MEDIUM: tools: Fix `inet_ntop` usage in sa2str The given size must be the size of the destination buffer, not the size of the (binary) address representation. This fixes GitHub issue #1599. The bug was introduced in 92149f9a82a9b55c598f1cc815bc330c555f3561 which is in 2.4+. The fix must be backported there.