* lib/pwio.c, lib/shadowio.c, lib/groupio.c, lib/sgroupio.c: Fill
the password fields with zeros before they are freed.
This commit is contained in:
@ -102,6 +102,7 @@ static void gshadow_free (void *ent)
|
||||
struct sgrp *sg = ent;
|
||||
|
||||
free (sg->sg_name);
|
||||
memzero (sg->sg_passwd, strlen (sg->sg_passwd));
|
||||
free (sg->sg_passwd);
|
||||
while (NULL != *(sg->sg_adm)) {
|
||||
free (*(sg->sg_adm));
|
||||
|
Reference in New Issue
Block a user