[NIU]: Fix write past end of array in niu_pci_probe_sprom().
authorDavid S. Miller <davem@sunset.davemloft.net>
Mon, 15 Oct 2007 08:36:24 +0000 (01:36 -0700)
committerDavid S. Miller <davem@sunset.davemloft.net>
Mon, 15 Oct 2007 19:26:31 +0000 (12:26 -0700)
commite6a5fdf56e3a5fc179cd8c8c19081a9a11882b0c
tree5f3d4a36c55195dae85cb8ddfed416b928bb011c
parent65c88466602c61b639f75623e5ba72c1534df9bd
[NIU]: Fix write past end of array in niu_pci_probe_sprom().

Noticed by Coverity checker and reported by Adrian Bunk.

Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/niu.c