]> git.ipfire.org Git - people/arne_f/kernel.git/commit
[PATCH] packet writing oops fix
authorPeter Osterlund <petero2@telia.com>
Mon, 14 Nov 2005 00:06:36 +0000 (16:06 -0800)
committerChris Wright <chrisw@osdl.org>
Thu, 24 Nov 2005 22:10:07 +0000 (14:10 -0800)
commit9761be89f5a057bf2bae57ca98990f89ad5edbe2
tree2702a950f05a3c9270f5a976340571629fc35bd2
parentd8122124872548142e3df57d274444f484f318a2
[PATCH] packet writing oops fix

There is an old bug in the pkt_count_states() function that causes stack
corruption.  When compiling with gcc 3.x or 2.x it is harmless, but gcc 4
allocates local variables differently, which makes the bug visible.

Signed-off-by: Peter Osterlund <petero2@telia.com>
Cc: <stable@kernel.org>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Chris Wright <chrisw@osdl.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/block/pktcdvd.c