eepro: Read buffer overflow
commitd513d018e2236930b6163241bbdce64d2c0de49e
authorRoel Kluin <roel.kluin@gmail.com>
Mon, 27 Jul 2009 01:53:17 +0000 (26 18:53 -0700)
committerDavid S. Miller <davem@davemloft.net>
Mon, 27 Jul 2009 01:53:17 +0000 (26 18:53 -0700)
tree059d2fc3a2276547bda67eebd4b30815b1c0cbff
parentc65d3198addb1a2862d4b88bc2a74ac9cbed66f9
eepro: Read buffer overflow

io[i] is read before the bounds check on i, order should be reversed

Signed-off-by: Roel Kluin <roel.kluin@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/eepro.c