diff options
author | Balint Reczey <balint@balintreczey.hu> | 2022-11-10 16:24:06 +0100 |
---|---|---|
committer | Balint Reczey <balint@balintreczey.hu> | 2022-11-10 16:24:06 +0100 |
commit | 3987cc788047570ecf10707dfc8958780d85c73c (patch) | |
tree | 109724175f07436696f51b14b5abbd3f4d704d6d /lib/sgroupio.c | |
parent | 8ead740677d19e48690d4f144ab090b83d47059f (diff) | |
download | shadow-3987cc788047570ecf10707dfc8958780d85c73c.tar.gz |
New upstream version 4.13+dfsg1upstream/4.13+dfsg1upstream
Diffstat (limited to 'lib/sgroupio.c')
-rw-r--r-- | lib/sgroupio.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/sgroupio.c b/lib/sgroupio.c index cf01de7b..871749bd 100644 --- a/lib/sgroupio.c +++ b/lib/sgroupio.c @@ -128,7 +128,7 @@ void sgr_free (/*@out@*/ /*@only@*/struct sgrp *sgent) size_t i; free (sgent->sg_name); if (NULL != sgent->sg_passwd) { - memzero (sgent->sg_passwd, strlen (sgent->sg_passwd)); + strzero (sgent->sg_passwd); free (sgent->sg_passwd); } for (i = 0; NULL != sgent->sg_adm[i]; i++) { |