summaryrefslogtreecommitdiff
path: root/dev-python/pytest-httpserver
diff options
context:
space:
mode:
authorSam James <sam@gentoo.org>2023-02-13 03:20:27 +0000
committerSam James <sam@gentoo.org>2023-02-13 03:23:05 +0000
commita3de456aa64d3ed171dd41ff5b867cf1389558c6 (patch)
tree39ed3e4b4c7949a1689f231a9777693101591422 /dev-python/pytest-httpserver
parent0562efd516b53b4f0cfe70ead87a2d8b7234b137 (diff)
downloadgentoo-a3de456aa64d3ed171dd41ff5b867cf1389558c6.tar.gz
gentoo-a3de456aa64d3ed171dd41ff5b867cf1389558c6.tar.bz2
gentoo-a3de456aa64d3ed171dd41ff5b867cf1389558c6.zip
sys-apps/iproute2: fix UB in strncpy (e.g. truncated ip route output)
Fix overlapping buffers passed to strncpy which is UB. format_host_rta_r writes to the buffer passed to it, so hostname (derived from b1) & b1 partly overlap. This gets worse with sys-libs/glibc-2.37 where the ip route output can be truncated, but it was UB anyway and you can see it occurring w/ glibc-2.36. Bug: https://lore.kernel.org/netdev/0011AC38-4823-4D0A-8580-B108D08959C2@gentoo.org/T/#u Bug: https://sourceware.org/bugzilla/show_bug.cgi?id=30112 Thanks-to: Doug Freed <dwfreed@mtu.edu> Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'dev-python/pytest-httpserver')
0 files changed, 0 insertions, 0 deletions