]> git.ipfire.org Git - thirdparty/shadow.git/commit
Use stpecpy() where appropriate
authorAlejandro Colomar <alx@kernel.org>
Fri, 10 Feb 2023 21:52:25 +0000 (22:52 +0100)
committerIker Pedrosa <ikerpedrosam@gmail.com>
Thu, 16 Feb 2023 10:29:33 +0000 (11:29 +0100)
commit5956cea1d18b269fc4c0b1201b4e81a6f03bbe70
tree712fd1269573d7d8613a1a8888dd3d0769de3cca
parent709e6b4497c7be9c5301e3c7ef8fe9e6f0f5db8d
Use stpecpy() where appropriate

This function simplifies the calculation of the bounds of the buffer for
catenating strings.  It would also reduce error checking, but we don't
care about truncation in this specific code. :)

Signed-off-by: Alejandro Colomar <alx@kernel.org>
src/groupmod.c