commit | 232a347a444e687b5f8cf0f6485704db1c6024d3 | [log] [tgz] |
---|---|---|
author | Scott Bardone <sbardone@chelsio.com> | Thu Mar 16 19:20:40 2006 -0500 |
committer | Jeff Garzik <jeff@garzik.org> | Thu Mar 16 19:20:40 2006 -0500 |
tree | 7b538d45346c328cd143675c54d043eda25f618c | |
parent | c3d7a3a4eb5e8f290d7b1d61430eed1ebedeb936 [diff] |
[netdrvr] fix array overflows in Chelsio driver Adrian Bunk wrote: > The Coverity checker spotted the following two array overflows in > drivers/net/chelsio/sge.c (in both cases, the arrays contain 3 > elements): [snip] This is a bug. The array should contain 2 elements. Here is the fix. Signed-off-by: Scott Bardone <sbardone@chelsio.com> Signed-off-by: Jeff Garzik <jeff@garzik.org>