commit | af2c6a4aaa2253f1e29df8fb59a3d92174d30a33 | [log] [tgz] |
---|---|---|
author | Michael Chan <mchan@broadcom.com> | Tue Nov 07 14:57:51 2006 -0800 |
committer | David S. Miller <davem@sunset.davemloft.net> | Tue Nov 07 15:10:16 2006 -0800 |
tree | 5eb583eb426b70c342d7a5a0577b44564de70538 | |
parent | 25f484a62e41be8020b9a31bf50a792baa58d2d4 [diff] |
[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>