acct: Zero pad bytes in accounting records
Reported by: KMSAN MFC after: 1 week Sponsored by: The FreeBSD Foundation
This commit is contained in:
parent
5c18bf9d5f
commit
90959dd1e5
@ -349,6 +349,8 @@ acct_process(struct thread *td)
|
||||
if (acct_vp == NULL || acct_suspended)
|
||||
return (0);
|
||||
|
||||
memset(&acct, 0, sizeof(acct));
|
||||
|
||||
sx_slock(&acct_sx);
|
||||
|
||||
/*
|
||||
|
Loading…
Reference in New Issue
Block a user