From: Roel Kluin Date: Thu, 1 Oct 2009 22:44:24 +0000 (-0700) Subject: cyclades: fix read buffer overflow X-Git-Tag: v2.6.32-rc3~25 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=196b3167efd13a02cdd34acc1a12316b9f45f41d;p=pandora-kernel.git cyclades: fix read buffer overflow 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 Acked-by: Jiri Slaby Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- Reading git-diff-tree failed