Michael Chan af2c6a4aaa [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>
2006-11-07 15:10:16 -08:00
..
2006-11-06 02:55:07 -05:00
2006-10-31 20:22:05 -05:00
2006-09-13 13:24:59 -04:00
2006-09-13 13:24:59 -04:00
2006-09-13 13:24:59 -04:00
2006-09-13 13:24:59 -04:00
2006-10-07 10:51:14 -07:00
2006-09-13 13:24:59 -04:00
2006-09-13 13:24:59 -04:00
2006-09-13 13:24:59 -04:00
2006-06-22 23:16:13 -04:00
2006-09-13 13:24:59 -04:00
2006-06-17 21:30:47 -07:00
2006-09-13 13:24:59 -04:00
2006-09-13 13:24:59 -04:00
2006-09-13 13:24:59 -04:00
2006-09-13 13:24:59 -04:00
2006-09-13 13:24:59 -04:00
2006-09-13 13:24:59 -04:00
2006-10-08 12:32:36 -07:00
2006-09-13 13:24:59 -04:00
2006-09-13 13:24:59 -04:00
2006-10-06 15:03:04 -04:00
2006-09-13 13:24:59 -04:00
2006-08-19 17:40:16 -04:00
2006-09-13 13:24:59 -04:00
2006-09-13 13:24:59 -04:00
2006-09-13 13:24:59 -04:00
2006-10-21 14:20:02 -04:00
2006-11-07 15:10:10 -08:00
2006-09-13 13:24:59 -04:00
2006-09-13 13:24:59 -04:00
2006-09-13 13:24:59 -04:00
2006-09-13 13:24:59 -04:00
2006-09-13 13:24:59 -04:00
2006-09-13 13:24:59 -04:00
2006-09-13 13:24:59 -04:00
2006-09-28 18:01:44 -07:00
2006-09-24 20:07:48 -07:00
2006-10-10 16:15:34 -07:00
2006-09-13 13:24:59 -04:00
2006-09-13 13:24:59 -04:00
2006-09-13 13:24:59 -04:00
2006-10-31 20:22:06 -05:00
2006-10-17 10:24:25 -07:00
2006-09-13 13:24:59 -04:00
2006-09-13 13:24:59 -04:00
2006-09-13 13:24:59 -04:00
2006-10-07 10:51:15 -07:00
2006-10-11 11:17:06 -07:00
2006-10-11 11:17:06 -07:00
2006-09-13 13:24:59 -04:00
2006-09-28 18:01:42 -07:00
2006-09-13 13:24:59 -04:00
2006-09-13 13:24:59 -04:00