Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S934019Ab3CMRrh (ORCPT ); Wed, 13 Mar 2013 13:47:37 -0400 Received: from mail-ia0-f170.google.com ([209.85.210.170]:37238 "EHLO mail-ia0-f170.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S932881Ab3CMRrg (ORCPT ); Wed, 13 Mar 2013 13:47:36 -0400 MIME-Version: 1.0 In-Reply-To: <1363196155-1620-1-git-send-email-jason@lakedaemon.net> References: <1362872371.3690.106.camel@shinybook.infradead.org> <1363196155-1620-1-git-send-email-jason@lakedaemon.net> Date: Wed, 13 Mar 2013 18:47:36 +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: 844 Lines: 22 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. 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/