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

2013-03-14 Thread David Woodhouse
On Wed, 2013-03-13 at 17:48 +, 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 C

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

2013-03-13 Thread Jason Cooper
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 --- Changes from v1: - correct typo (s/ nt / int /) I should've