summaryrefslogtreecommitdiffstats
path: root/block
diff options
context:
space:
mode:
authorMichael Chan <mchan@broadcom.com>2006-11-07 14:57:51 -0800
committerDavid S. Miller <davem@sunset.davemloft.net>2006-11-07 15:10:16 -0800
commitaf2c6a4aaa2253f1e29df8fb59a3d92174d30a33 (patch)
tree5eb583eb426b70c342d7a5a0577b44564de70538 /block
parent25f484a62e41be8020b9a31bf50a792baa58d2d4 (diff)
downloadlinux-af2c6a4aaa2253f1e29df8fb59a3d92174d30a33.tar.bz2
[TG3]: Fix array overrun in tg3_read_partno().
Use proper upper limits for the loops and check for all error conditions. The problem was noticed by Adrian Bunk. Signed-off-by: Michael Chan <mchan@broadcom.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'block')
0 files changed, 0 insertions, 0 deletions