diff options
author | Peter Osterlund <petero2@telia.com> | 2005-11-14 00:06:36 (GMT) |
---|---|---|
committer | Linus Torvalds <torvalds@g5.osdl.org> | 2005-11-14 02:14:11 (GMT) |
commit | ae7642bb05623988d8ca82b332dad1ed7bdb8ceb (patch) | |
tree | 43c1c2f9c8144f8c8ac2974f878fdc448693c4f5 /drivers/scsi/eata_pio.c | |
parent | 5563e77078d85c4f107a0a673500c43ce57cf702 (diff) | |
download | linux-fsl-qoriq-ae7642bb05623988d8ca82b332dad1ed7bdb8ceb.tar.xz |
[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: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'drivers/scsi/eata_pio.c')
0 files changed, 0 insertions, 0 deletions