]> git.ipfire.org Git - thirdparty/shadow.git/commit
useradd: Fix buffer overflow when using a prefix
authorDavid Michael <fedora.dm0@gmail.com>
Sun, 23 Oct 2022 22:51:33 +0000 (18:51 -0400)
committerSerge Hallyn <serge@hallyn.com>
Mon, 24 Oct 2022 21:15:13 +0000 (16:15 -0500)
commiteaebea55a495a56317ed85e959b3599f73c6bdf2
tree6813475b1fd47863bb64fc8313052c17882fba0d
parent0336454503fb9b0fd6bce2690f8fa729186de252
useradd: Fix buffer overflow when using a prefix

The buffer length did not count the string's trailing null byte.

Signed-off-by: David Michael <fedora.dm0@gmail.com>
src/useradd.c