Re: + cyclades-read-buffer-overflow.patch added to -mm tree

From: Jiri Slaby
Date: Tue Jul 28 2009 - 18:07:36 EST


On 07/28/2009 11:52 PM, akpm@xxxxxxxxxxxxxxxxxxxx wrote:
> Subject: cyclades: fix read buffer overflow
> From: Roel Kluin <roel.kluin@xxxxxxxxx>
>
> irq is declared with size NR_CARDS (4), but the loop containing this
> segment runs up until NR_ISA_ADDRS (16), possibly reading from irq[i] (and
> trying to use the result)
>
> Identified by the Parfait static scanner.
>
> Signed-off-by: Roel Kluin <roel.kluin@xxxxxxxxx>
> Cc: Jiri Slaby <jirislaby@xxxxxxxxx>

Acked-by: Jiri Slaby <jirislaby@xxxxxxxxx>

Thanks!

> Signed-off-by: Andrew Morton <akpm@xxxxxxxxxxxxxxxxxxxx>
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/