All of lore.kernel.org
 help / color / mirror / Atom feed
From: Alexander Graf <agraf@suse.de>
To: Alexander Graf <agraf@suse.de>
Cc: aik@ozlabs.ru, sw@weilnetz.de, qemu-ppc@nongnu.org,
	qemu-devel@nongnu.org, David Gibson <david@gibson.dropbear.id.au>
Subject: Re: [Qemu-devel] [Qemu-ppc] [PATCH] pseries: Fix array overrun bug in PCI code
Date: Mon, 19 Dec 2011 15:01:18 +0100	[thread overview]
Message-ID: <4D740764-CEE9-4F32-8FDE-0F23496A6C85@suse.de> (raw)
In-Reply-To: <22DEDA33-DA8B-4BD6-86A3-FA7F31742E0E@suse.de>


On 19.12.2011, at 14:59, Alexander Graf wrote:

> 
> On 29.11.2011, at 07:21, David Gibson wrote:
> 
>> spapr_populate_pci_devices() containd a loop with PCI_NUM_REGIONS (7)
>> iterations.  However this overruns the 'bars' global array, which only has
>> 6 elements. In fact we only want to run this loop for things listed in the
>> bars array, so this patch corrects the loop bounds to reflect that.
>> 
>> Signed-off-by: David Gibson <david@gibson.dropbear.id.au>
> 
> Thanks, applied to ppc-next and queued for 1.0.

Call me stupid. Only queued for 1.0 of course.


Alex

      reply	other threads:[~2011-12-19 14:01 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-11-29  6:21 [Qemu-devel] [PATCH] pseries: Fix array overrun bug in PCI code David Gibson
2011-11-29  7:41 ` [Qemu-devel] [Qemu-ppc] " David Gibson
2011-12-05 20:24   ` andrzej zaborowski
2011-12-05 20:33     ` Alexander Graf
2011-12-19 13:59 ` [Qemu-devel] " Alexander Graf
2011-12-19 14:01   ` Alexander Graf [this message]

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=4D740764-CEE9-4F32-8FDE-0F23496A6C85@suse.de \
    --to=agraf@suse.de \
    --cc=aik@ozlabs.ru \
    --cc=david@gibson.dropbear.id.au \
    --cc=qemu-devel@nongnu.org \
    --cc=qemu-ppc@nongnu.org \
    --cc=sw@weilnetz.de \
    /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.