[Bug 205477] New: Useless address check in function __kvm_set_memory_region()

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

 



https://bugzilla.kernel.org/show_bug.cgi?id=205477

            Bug ID: 205477
           Summary: Useless address check in function
                    __kvm_set_memory_region()
           Product: Virtualization
           Version: unspecified
    Kernel Version: 5.2.0
          Hardware: All
                OS: Linux
              Tree: Mainline
            Status: NEW
          Severity: low
          Priority: P1
         Component: kvm
          Assignee: virtualization_kvm@xxxxxxxxxxxxxxxxxxxx
          Reporter: alexandr.sky@xxxxxxxxx
        Regression: No

In function __kvm_set_memory_region() at virt/kvm/kvm_main.c:950, the condition
is false in any case.

950          if (mem->guest_phys_addr + mem->memory_size <
mem->guest_phys_addr)
951                  goto out;

-- 
You are receiving this mail because:
You are watching the assignee of the bug.



[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