]> git.ipfire.org Git - thirdparty/squid.git/commit
Fix string truncation in getnameinfo() (#462)
authorAmos Jeffries <yadij@users.noreply.github.com>
Sun, 5 Jan 2020 13:29:29 +0000 (13:29 +0000)
committerAmos Jeffries <yadij@users.noreply.github.com>
Sun, 29 Mar 2020 11:54:01 +0000 (00:54 +1300)
commit79818d3298a5f5d5d626dd8e356930e53131db05
treeca27c3bb75db5f1b3621196df9b2d3e0832adabb
parent358ad2fdf4db45061410bc36ca72645cc927b83d
Fix string truncation in getnameinfo() (#462)

strncpy can leave strings unterminated. Use xstrncpy instead
of relying on callers to terminate their buffers.
compat/getnameinfo.cc