]> git.ipfire.org Git - thirdparty/shadow.git/commit
Remove unnecessary NUL terminators
authorAlejandro Colomar <alx@kernel.org>
Sun, 29 Jan 2023 23:56:57 +0000 (00:56 +0100)
committerIker Pedrosa <ikerpedrosam@gmail.com>
Thu, 16 Feb 2023 10:29:33 +0000 (11:29 +0100)
commit8a9285aacbf2944e113914e6432c6f8d3efe2692
tree61c3b269a25d2436d60f636fc604717e651ef973
parent46610792e90f35864ff94c289adecb56cdd8682b
Remove unnecessary NUL terminators

All the string-copying functions called above do terminate the strings
they create with a NUL byte.  Writing it again at the end of the buffer
is unnecessary paranoid code.  Let's remove it.

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