]> git.ipfire.org Git - thirdparty/shadow.git/commit
Use MEMZERO() instead of its pattern
authorAlejandro Colomar <alx@kernel.org>
Sun, 30 Jul 2023 12:03:07 +0000 (14:03 +0200)
committerIker Pedrosa <ikerpedrosam@gmail.com>
Fri, 1 Sep 2023 07:39:23 +0000 (09:39 +0200)
commitf3ee47fe3f538c72e9d4b4f2c167d102110a1672
tree2c3510b476f15f7e4600644f42d9808d1ca904e7
parent64ab4012398343e474e61fc4214dccb37f9ee994
Use MEMZERO() instead of its pattern

This patch implicitly adds the safety of SIZEOF_ARRAY(), since the calls
were using sizeof() instead.

Cc: Christian Göttsche <cgzones@googlemail.com>
Cc: Serge Hallyn <serge@hallyn.com>
Cc: Iker Pedrosa <ipedrosa@redhat.com>
Signed-off-by: Alejandro Colomar <alx@kernel.org>
lib/limits.c
lib/loginprompt.c
src/gpasswd.c
src/passwd.c
src/sulogin.c