>>>>> On Thu, 18 Dec 2003 13:14:42 -0600, Jack Steiner <steiner@sgi.com> said: Jack> The code in acpi_numa_memory_affinity_init that sorts the Jack> node_memblk can overrun the array & clobber the memory that Jack> follows the end of the array. The error will be seen only on Jack> systems that fill the node_memblk array and only if SAL doesnt Jack> sort the entries in the SRAT. > --- linux.base/arch/ia64/kernel/acpi.c Wed Nov 26 14:44:07 2003 > +++ linux/arch/ia64/kernel/acpi.c Thu Dec 18 13:10:03 2003 > @@ -413,7 +413,7 @@ > break; > } > if (p < pend) { > - for (q = pend; q >= p; q--) > + for (q = pend - 1; q >= p; q--) > *(q + 1) = *q; > } > p->start_paddr = paddr; Looks correct to me. Applied. --david - To unsubscribe from this list: send the line "unsubscribe linux-ia64" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.htmlReceived on Fri Dec 19 18:12:40 2003
This archive was generated by hypermail 2.1.8 : 2005-08-02 09:20:21 EST