Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S933182Ab3CMSkq (ORCPT ); Wed, 13 Mar 2013 14:40:46 -0400 Received: from mail-ia0-f181.google.com ([209.85.210.181]:50943 "EHLO mail-ia0-f181.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S932346Ab3CMSkp (ORCPT ); Wed, 13 Mar 2013 14:40:45 -0400 MIME-Version: 1.0 In-Reply-To: <20130313175053.GQ12700@titan.lakedaemon.net> References: <1362872371.3690.106.camel@shinybook.infradead.org> <1363196155-1620-1-git-send-email-jason@lakedaemon.net> <20130313175053.GQ12700@titan.lakedaemon.net> Date: Wed, 13 Mar 2013 19:40:43 +0100 Message-ID: Subject: Re: [PATCH] pinctrl: mvebu: prevent walking off the end of group array From: Linus Walleij To: Jason Cooper Cc: David Woodhouse , Sebastian Hesselbarth , Thomas Petazzoni , Stephen Warren , linux-kernel@vger.kernel.org, Gregory CLEMENT , Ezequiel Garcia , Linux ARM Kernel , David Woodhouse Content-Type: text/plain; charset=ISO-8859-1 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1163 Lines: 29 On Wed, Mar 13, 2013 at 6:50 PM, Jason Cooper wrote: > 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 Ah, I'm too trigger happy. I took it out again waiting for some ACK and testing.. Yours, Linus Walleij -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/