qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
From: Richard Henderson <richard.henderson@linaro.org>
To: "Philippe Mathieu-Daudé" <f4bug@amsat.org>, qemu-devel@nongnu.org
Cc: "Daniel P. Berrangé" <berrange@redhat.com>,
	"Eduardo Habkost" <ehabkost@redhat.com>,
	qemu-trivial@nongnu.org, "Michael Tokarev" <mjt@tls.msk.ru>,
	"Laurent Vivier" <laurent@vivier.eu>,
	"Paolo Bonzini" <pbonzini@redhat.com>
Subject: Re: [PATCH-for-5.2 2/2] hw/core/sysbus: Assert memory region index is in range
Date: Wed, 12 Aug 2020 10:48:13 -0700	[thread overview]
Message-ID: <e3bdbabe-dada-9e7a-14d3-8fbe80cbe823@linaro.org> (raw)
In-Reply-To: <20200806130945.21629-3-f4bug@amsat.org>

On 8/6/20 6:09 AM, Philippe Mathieu-Daudé wrote:
> Devices incorrectly modelled might use invalid index while
> calling sysbus_mmio_get_region(), leading to OOB access.
> Help developers by asserting the index is in range.
> 
> Signed-off-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
> ---
>  hw/core/sysbus.c | 1 +
>  1 file changed, 1 insertion(+)

Reviewed-by: Richard Henderson <richard.henderson@linaro.org>


r~


  reply	other threads:[~2020-08-12 17:50 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-08-06 13:09 [PATCH-for-5.2 0/2] hw/core/sysbus: Trivial cleanup patches Philippe Mathieu-Daudé
2020-08-06 13:09 ` [PATCH-for-5.2 1/2] hw/core/sysbus: Fix a typo Philippe Mathieu-Daudé
2020-08-12 17:47   ` Richard Henderson
2020-09-01  7:27   ` Laurent Vivier
2020-08-06 13:09 ` [PATCH-for-5.2 2/2] hw/core/sysbus: Assert memory region index is in range Philippe Mathieu-Daudé
2020-08-12 17:48   ` Richard Henderson [this message]
2020-09-01  7:28   ` Laurent Vivier
2020-08-22 20:01 ` [PATCH-for-5.2 0/2] hw/core/sysbus: Trivial cleanup patches Philippe Mathieu-Daudé

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=e3bdbabe-dada-9e7a-14d3-8fbe80cbe823@linaro.org \
    --to=richard.henderson@linaro.org \
    --cc=berrange@redhat.com \
    --cc=ehabkost@redhat.com \
    --cc=f4bug@amsat.org \
    --cc=laurent@vivier.eu \
    --cc=mjt@tls.msk.ru \
    --cc=pbonzini@redhat.com \
    --cc=qemu-devel@nongnu.org \
    --cc=qemu-trivial@nongnu.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).