qemu-ppc
[Top][All Lists]
Advanced

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

Re: [Qemu-ppc] [PATCH] pseries: Fix array overrun bug in PCI code


From: Alexander Graf
Subject: Re: [Qemu-ppc] [PATCH] pseries: Fix array overrun bug in PCI code
Date: Mon, 19 Dec 2011 15:01:18 +0100

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 <address@hidden>
> 
> Thanks, applied to ppc-next and queued for 1.0.

Call me stupid. Only queued for 1.0 of course.


Alex




reply via email to

[Prev in Thread] Current Thread [Next in Thread]