]> git.ipfire.org Git - thirdparty/dhcpcd.git/commit
privsep: fix strlcpy overflow in psp_ifname (#239)
authorTobias Heider <tobhe@users.noreply.github.com>
Tue, 15 Aug 2023 16:06:48 +0000 (18:06 +0200)
committerGitHub <noreply@github.com>
Tue, 15 Aug 2023 16:06:48 +0000 (17:06 +0100)
commit1bd8fc7d4b34f752a32709d277a897e5ad202d97
tree365555311149b6d1c80075de0df452093b9ba48d
parentf798bf23af8e5a0eae38931912e2b67e1d45aca4
privsep: fix strlcpy overflow in psp_ifname (#239)

When running our Ubuntu tests with libc6 and strlcpy overflow checks
enabled we found that the wrong size is passed to strlcpy resulting
in a crash because of an overflow.
src/privsep.c