]> git.karo-electronics.de Git - karo-tx-linux.git/commit
PARISC: led.c - fix potential stack overflow in led_proc_write()
authorHelge Deller <deller@gmx.de>
Mon, 2 Aug 2010 20:46:41 +0000 (22:46 +0200)
committerLinus Torvalds <torvalds@linux-foundation.org>
Tue, 3 Aug 2010 16:11:42 +0000 (09:11 -0700)
commit4b4fd27c0b5ec638a1f06ced9226fd95229dbbf0
tree8fbdbf091b7378e03b9bfb80a12f791d942ba86c
parent9fe6206f400646a2322096b56c59891d530e8d51
PARISC: led.c - fix potential stack overflow in led_proc_write()

avoid potential stack overflow by correctly checking count parameter

Reported-by: Ilja <ilja@netric.org>
Signed-off-by: Helge Deller <deller@gmx.de>
Acked-by: Kyle McMartin <kyle@mcmartin.ca>
Cc: James E.J. Bottomley <jejb@parisc-linux.org>
Cc: stable@kernel.org
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
drivers/parisc/led.c