commit | 196b3167efd13a02cdd34acc1a12316b9f45f41d | [log] [tgz] |
---|---|---|
author | Roel Kluin <roel.kluin@gmail.com> | Thu Oct 01 15:44:24 2009 -0700 |
committer | Linus Torvalds <torvalds@linux-foundation.org> | Thu Oct 01 16:11:16 2009 -0700 |
tree | 91f2fc91355dc0d26eb06ddde80ce6f2e1ebb9b7 | |
parent | 75e3a6aed99babdfa95f80d07421065ed004d186 [diff] |
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 <roel.kluin@gmail.com> Acked-by: Jiri Slaby <jirislaby@gmail.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>