From: jason@lakedaemon.net (Jason Cooper) Date: Wed, 13 Mar 2013 13:50:53 -0400 Subject: [PATCH] pinctrl: mvebu: prevent walking off the end of group array In-Reply-To: References: <1362872371.3690.106.camel@shinybook.infradead.org> <1363196155-1620-1-git-send-email-jason@lakedaemon.net> Message-ID: <20130313175053.GQ12700@titan.lakedaemon.net> To: linux-arm-kernel@lists.infradead.org List-Id: linux-arm-kernel.lists.infradead.org On Wed, Mar 13, 2013 at 06:47:36PM +0100, Linus Walleij wrote: > On Wed, Mar 13, 2013 at 6:35 PM, Jason Cooper wrote: > > > From: David Woodhouse > > > > While investigating (ab)use of krealloc, David found this bug. It's > > unlikely to occur, but now we detect the condition and error out > > appropriately. > > > > Signed-off-by: David Woodhouse > > Signed-off-by: Jason Cooper > > --- > > David, please double check that this is as you intended. I had to hand-jam it in due to some peculiarities on my side. > > I have tentatively applied this to my fixes branch. Dang, you're quick. Please see V2 thx, Jason.