diff options
author | Jim Meyering <meyering@redhat.com> | 2012-05-10 18:19:47 +0200 |
---|---|---|
committer | Michael Roth <mdroth@linux.vnet.ibm.com> | 2012-06-25 08:53:05 -0500 |
commit | ca09717e8e0664801522781962a3c727d04eef33 (patch) | |
tree | ab924e07f06395e2ecd58a8886a0d7f33285d21a /rules.mak | |
parent | configure: report missing libraries for virtfs (diff) | |
download | qemu-kvm-ca09717e8e0664801522781962a3c727d04eef33.tar.gz qemu-kvm-ca09717e8e0664801522781962a3c727d04eef33.tar.bz2 qemu-kvm-ca09717e8e0664801522781962a3c727d04eef33.zip |
kvm/apic: correct short memset
kvm_put_apic_state's attempt to clear *kapic before setting its
bits cleared sizeof(void*) bytes (no more than 8) rather than the
intended 1024 (KVM_APIC_REG_SIZE) bytes. Spotted by coverity.
Signed-off-by: Jim Meyering <meyering@redhat.com>
Signed-off-by: Avi Kivity <avi@redhat.com>
(cherry picked from commit 0614cb82ca27bdffb83864e693fc29e29182667b)
Signed-off-by: Michael Roth <mdroth@linux.vnet.ibm.com>
Diffstat (limited to 'rules.mak')
0 files changed, 0 insertions, 0 deletions