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

Re: [Xen-devel] [PATCH] Make ACPI DMAR parsing more robust



Regarding the table length sanity check -- depth is set to the number of
acp_pci_path structures in the table. But then we only follow the path to
depth-1. Is that correct?

Also I changed the test to '--depth >= 0' which is equivalent and a bit
easier to read imo.

 -- Keir


On 2/4/08 17:58, "Espen Skoglund" <espen.skoglund@xxxxxxxxxxxxx> wrote:

> Parsing ACPI related VT-d tables may cause infinite loop due to u8
> value wraparound.  Also add sanity check on table length entry.
> 
> eSk
> 
> 
> Signed-off-by: Espen Skoglund <espen.skoglund@xxxxxxxxxxxxx>
> 
> _______________________________________________
> Xen-devel mailing list
> Xen-devel@xxxxxxxxxxxxxxxxxxx
> http://lists.xensource.com/xen-devel



_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.