[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <20130724.160528.250036563854826098.davem@davemloft.net>
Date: Wed, 24 Jul 2013 16:05:28 -0700 (PDT)
From: David Miller <davem@...emloft.net>
To: hannes@...essinduktion.org
Cc: jerry.snitselaar@...cle.com, netdev@...r.kernel.org,
linux-kernel@...r.kernel.org
Subject: Re: [PATCH] fib_trie: potential out of bounds access in
trie_show_stats()
From: Hannes Frederic Sowa <hannes@...essinduktion.org>
Date: Wed, 24 Jul 2013 17:00:00 +0200
> On Mon, Jul 22, 2013 at 12:01:58PM -0700, Jerry Snitselaar wrote:
>> With the <= max condition in the for loop, it will be always go 1
>> element further than needed. If the condition for the while loop is
>> never met, then max is MAX_STAT_DEPTH, and for loop will walk off the
>> end of nodesizes[].
>>
>> Signed-off-by: Jerry Snitselaar <jerry.snitselaar@...cle.com>
>
> Acked-by: Hannes Frederic Sowa <hannes@...essinduktion.org>
Applied, thanks.
--
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