zorro8390: Fix read buffer overflow in zorro8390_init_one()
authorroel kluin <roel.kluin@gmail.com>
Sun, 9 Aug 2009 04:00:25 +0000 (04:00 +0000)
committerDavid S. Miller <davem@davemloft.net>
Mon, 10 Aug 2009 04:46:53 +0000 (21:46 -0700)
commitbe12159b24c532b4b48bdec5a543336438faa132
tree27c2df1d95f482376b108c277a92297c61f6111a
parent5e33b719c8fcccfedc1d25167826a0f93fe6c5a1
zorro8390: Fix read buffer overflow in zorro8390_init_one()

Prevent read from cards[-1] when no card was found.

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