RE: [bug] endless loop in arch/i386/kernel/mpparse.c

Grover, Andrew
2002-09-30T17:59:43Z

> From: Bjoern A. Zeeb [mailto:bzeeb-lists-mt/InyFV0sMN6vK3N8ee0qxOck334EZe@public.gmane.org]
> > buggy MADT, but let's not _crash_ when the vendor provides
> a shit BIOS.
>
> the other thing that I was thinking of is: entry is icremented by 8
> but to reach madt_end we need to do another 494 increments. As I am
> not really in that code I ask myself what is in that struct. If I
> remember correctly 309 objects, ... were found; far not that much ...
> (assumtion that we walk through them).
> This, with the entry->header.length being zero I think (repeating
> myself) madt_end may be wrong ?

I cribbed this code from table.c acpi_table_parse_madt_family, which works
fine.

Some change must have screwed something up for this to be hanging...

Regards -- Andy