mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2025-01-19 02:08:16 +07:00
audit: tame initialization warning len_abuf in audit_log_execve_info
Tame initialization warning of len_abuf in audit_log_execve_info even
though there isn't presently a bug introduced by commit 43761473c2
("audit: fix a double fetch in audit_log_single_execve_arg()"). Using
UNINITIALIZED_VAR instead may mask future bugs.
Signed-off-by: Richard Guy Briggs <rgb@redhat.com>
Signed-off-by: Paul Moore <paul@paul-moore.com>
This commit is contained in:
parent
b4eb4f7f1a
commit
8443075eac
@ -1000,7 +1000,7 @@ static void audit_log_execve_info(struct audit_context *context,
|
||||
long len_rem;
|
||||
long len_full;
|
||||
long len_buf;
|
||||
long len_abuf;
|
||||
long len_abuf = 0;
|
||||
long len_tmp;
|
||||
bool require_data;
|
||||
bool encode;
|
||||
|
Loading…
Reference in New Issue
Block a user