[PATCH] pinctrl: mvebu: prevent walking off the end of group array

Linus Walleij linus.walleij at linaro.org
Wed Mar 13 14:40:43 EDT 2013


On Wed, Mar 13, 2013 at 6:50 PM, Jason Cooper <jason at lakedaemon.net> 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 <jason at lakedaemon.net> wrote:
>>
>> > From: David Woodhouse <dwmw2 at infradead.org>
>> >
>> > 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 <David.Woodhouse at intel.com>
>> > Signed-off-by: Jason Cooper <jason at lakedaemon.net>
>> > ---
>> > 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 <shuffles feet>

Ah, I'm too trigger happy. I took it out again waiting for some ACK
and testing..

Yours,
Linus Walleij



More information about the linux-arm-kernel mailing list