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

2013-03-13 Thread Linus Walleij
On Wed, Mar 13, 2013 at 6:50 PM, Jason Cooper 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 wrote: >> >> > From: David Woodhouse >> > >> > While investigating (ab)use of krealloc, David found this bug. It's >> > unlikely

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

2013-03-13 Thread Jason Cooper
On Wed, Mar 13, 2013 at 06:47:36PM +0100, Linus Walleij wrote: > 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 > >

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

2013-03-13 Thread Sebastian Hesselbarth
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 dou

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

2013-03-13 Thread Linus Walleij
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 Coo