mirror of
https://github.com/sudo-project/sudo.git
synced 2025-08-31 06:15:37 +00:00
Fix memset size typo in previous commit.
This commit is contained in:
@@ -718,7 +718,7 @@ check_defaults(int what, bool quiet)
|
||||
}
|
||||
/* Don't actually set the defaults value, just checking. */
|
||||
tmp = *cur;
|
||||
memset(&tmp.sd_un, 0, sizeof(&tmp.sd_un));
|
||||
memset(&tmp.sd_un, 0, sizeof(tmp.sd_un));
|
||||
if (!set_default_entry(&tmp, def->val, def->op, quiet, false))
|
||||
rc = false;
|
||||
free_default(&tmp);
|
||||
|
Reference in New Issue
Block a user