diff options
| author | Dan Carpenter <[email protected]> | 2024-06-12 11:50:38 +0000 |
|---|---|---|
| committer | Paolo Bonzini <[email protected]> | 2024-08-13 10:05:10 +0000 |
| commit | 92b6c2f0076c50aaa919d16b595f34f3e9967bea (patch) | |
| tree | aff52e2d5638fc3296b1cd7ae7bf27ee28b2d15b /security/selinux/hooks.c | |
| parent | Linux 6.11-rc3 (diff) | |
| download | kernel-92b6c2f0076c50aaa919d16b595f34f3e9967bea.tar.gz kernel-92b6c2f0076c50aaa919d16b595f34f3e9967bea.zip | |
KVM: SVM: Fix uninitialized variable bug
If snp_lookup_rmpentry() fails then "assigned" is printed in the error
message but it was never initialized. Initialize it to false.
Fixes: dee5a47cc7a4 ("KVM: SEV: Add KVM_SEV_SNP_LAUNCH_UPDATE command")
Signed-off-by: Dan Carpenter <[email protected]>
Message-ID: <[email protected]>
Signed-off-by: Paolo Bonzini <[email protected]>
Diffstat (limited to 'security/selinux/hooks.c')
0 files changed, 0 insertions, 0 deletions
