Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S934080Ab3CMRsn (ORCPT ); Wed, 13 Mar 2013 13:48:43 -0400 Received: from mail-ee0-f53.google.com ([74.125.83.53]:46826 "EHLO mail-ee0-f53.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S932905Ab3CMRsm (ORCPT ); Wed, 13 Mar 2013 13:48:42 -0400 Message-ID: <5140BBF2.4050309@gmail.com> Date: Wed, 13 Mar 2013 18:48:34 +0100 From: Sebastian Hesselbarth User-Agent: Mozilla/5.0 (X11; Linux i686; rv:10.0.12) Gecko/20130116 Icedove/10.0.12 MIME-Version: 1.0 To: Jason Cooper CC: David Woodhouse , Linus Walleij , Thomas Petazzoni , Stephen Warren , linux-kernel@vger.kernel.org, Gregory CLEMENT , Ezequiel Garcia , Linux ARM Kernel , David Woodhouse Subject: Re: [PATCH] pinctrl: mvebu: prevent walking off the end of group array References: <1362872371.3690.106.camel@shinybook.infradead.org> <1363196155-1620-1-git-send-email-jason@lakedaemon.net> In-Reply-To: <1363196155-1620-1-git-send-email-jason@lakedaemon.net> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 912 Lines: 24 On 03/13/2013 06: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. > Jason, thanks for preparing that patch. I ll test (and Ack) asap but that will not be before this weekend. If Thomas and Andrew ack it before me, consider it good. Sebastian -- 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/