]> git.ipfire.org Git - thirdparty/shadow.git/commit
lib: use strzero where applicable
authorChristian Göttsche <cgzones@googlemail.com>
Sat, 17 Sep 2022 15:56:49 +0000 (17:56 +0200)
committerIker Pedrosa <ikerpedrosam@gmail.com>
Tue, 27 Sep 2022 14:52:06 +0000 (16:52 +0200)
commite74bfe2c75f0d9d0eb465f337a8b577e720687cb
tree521261cfabeb5dce2ba28e859242af4c57013ade
parent14e7caf6b2b557d9e39f92fa5f4706dc45248d47
lib: use strzero where applicable

Replace `memzero (s, strlen(s))` with just the internal wrapper
`strzero (s)` where the underlying allocated size is not known.
lib/groupmem.c
lib/pwmem.c
lib/sgroupio.c
lib/shadowmem.c