Skip to content
Commit 232a347a authored by Scott Bardone's avatar Scott Bardone Committed by Jeff Garzik
Browse files

[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: default avatarScott Bardone <sbardone@chelsio.com>
Signed-off-by: default avatarJeff Garzik <jeff@garzik.org>
parent c3d7a3a4
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment