[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <20101025.121601.48518820.davem@davemloft.net>
Date: Mon, 25 Oct 2010 12:16:01 -0700 (PDT)
From: David Miller <davem@...emloft.net>
To: eli@....mellanox.co.il
Cc: yevgenyp@...lanox.co.il, rdreier@...co.com,
linux-rdma@...r.kernel.org, netdev@...r.kernel.org
Subject: Re: [PATCH] mlx4_en: Fix out of bounds array access
From: Eli Cohen <eli@....mellanox.co.il>
Date: Mon, 25 Oct 2010 14:56:47 +0200
> When searching for a free entry in either mlx4_register_vlan() or
> mlx4_register_mac(), and there is no free entry, the loop terminates without
> updating the local variable free thus causing out of array bounds access. Fix
> this by adding a proper check outside the loop.
>
> Signed-off-by: Eli Cohen <eli@...lanox.co.il>
Applied.
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists