tulip: Read buffer overflow
authorroel kluin <roel.kluin@gmail.com>
Sat, 1 Aug 2009 20:26:52 +0000 (20:26 +0000)
committerDavid S. Miller <davem@davemloft.net>
Sun, 2 Aug 2009 19:20:38 +0000 (12:20 -0700)
commit1b994b5a1b3cb5395598a08ef3bb0ac118d75c1b
tree319ffb86c805eb61747a7df90d4e619e71a4e040
parent144586301f6af5ae5943a002f030d8c626fa4fdd
tulip: Read buffer overflow

Check whether index is within bounds before testing the element.

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