[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <20090802.123135.184742883.davem@davemloft.net>
Date: Sun, 02 Aug 2009 12:31:35 -0700 (PDT)
From: David Miller <davem@...emloft.net>
To: roel.kluin@...il.com
Cc: netdev@...r.kernel.org, akpm@...ux-foundation.org
Subject: Re: [PATCH] s6gmac: Read buffer overflow
From: Roel Kluin <roel.kluin@...il.com>
Date: Sun, 02 Aug 2009 08:20:13 +0200
> Check whether index is within bounds before testing the element.
> In the last iteration i is PHY_MAX_ADDR. the condition
> `!(p = pd->mii.bus->phy_map[PHY_MAX_ADDR])' is undefined and may
> evaluate to false, which leads to a dereference of this invalid
> phy_map in the phy_connect() below.
>
> Signed-off-by: Roel Kluin <roel.kluin@...il.com>
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