« Previous | Next » 

Revision 0614cb82

ID0614cb82ca27bdffb83864e693fc29e29182667b

Added by Jim Meyering almost 12 years ago

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 <>
Signed-off-by: Avi Kivity <>

Files

  • added
  • modified
  • copied
  • renamed
  • deleted

View differences