RE: [PATCH] KVM: x86: fix *NULL on invalid low-prio irq

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 




> -----Original Message-----
> From: Radim Krčmář [mailto:rkrcmar@xxxxxxxxxx]
> Sent: Friday, February 12, 2016 10:00 PM
> To: linux@xxxxxxxxxxxxxxx
> Cc: kvm@xxxxxxxxxxxxxxx; Dan Carpenter <dan.carpenter@xxxxxxxxxx>; Wu,
> Feng <feng.wu@xxxxxxxxx>; Paolo Bonzini <pbonzini@xxxxxxxxxx>
> Subject: [PATCH] KVM: x86: fix *NULL on invalid low-prio irq
> 
> Smatch noticed a NULL dereference in kvm_intr_is_single_vcpu_fast that
> happens if VM already warned about invalid lowest-priority interrupt.
> 
> Create a function for common code while fixing it.

Thanks for the fix, Radim! I just saw the report by Dan and cooked a patch
for it. Your patch looks good :)

Thanks,
Feng
��.n��������+%������w��{.n�����o�^n�r������&��z�ޗ�zf���h���~����������_��+v���)ߣ�

[Index of Archives]     [KVM ARM]     [KVM ia64]     [KVM ppc]     [Virtualization Tools]     [Spice Development]     [Libvirt]     [Libvirt Users]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite Questions]     [Linux Kernel]     [Linux SCSI]     [XFree86]
  Powered by Linux