Re: [PATCH] pinctrl: mvebu: prevent walking off the end of grouparray

From: Sebastian Hesselbarth
Date: Wed Mar 13 2013 - 13:48:46 EST


On 03/13/2013 06:35 PM, Jason Cooper wrote:
From: David Woodhouse<dwmw2@xxxxxxxxxxxxx>

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@xxxxxxxxx>
Signed-off-by: Jason Cooper<jason@xxxxxxxxxxxxxx>
---
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@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/