All of lore.kernel.org
 help / color / mirror / Atom feed
From: bugzilla-daemon@bugzilla.kernel.org
To: kvm@vger.kernel.org
Subject: [Bug 205477] New: Useless address check in function __kvm_set_memory_region()
Date: Sat, 09 Nov 2019 14:24:12 +0000	[thread overview]
Message-ID: <bug-205477-28872@https.bugzilla.kernel.org/> (raw)

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@kernel-bugs.osdl.org
          Reporter: alexandr.sky@gmail.com
        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.

             reply	other threads:[~2019-11-09 14:24 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-11-09 14:24 bugzilla-daemon [this message]
2019-11-11 18:15 ` [Bug 205477] Useless address check in function __kvm_set_memory_region() bugzilla-daemon
2019-11-12  7:10 ` bugzilla-daemon

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=bug-205477-28872@https.bugzilla.kernel.org/ \
    --to=bugzilla-daemon@bugzilla.kernel.org \
    --cc=kvm@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.