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 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.
>
> Dang, you're quick.  Please see V2 

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

Yours,
Linus Walleij
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/


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
> > 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.

Dang, you're quick.  Please see V2 

thx,

Jason.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/


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 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 majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/


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 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 majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/


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 ja...@lakedaemon.net wrote:

 From: David Woodhouse dw...@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.woodho...@intel.com
 Signed-off-by: Jason Cooper ja...@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.

Yours,
Linus Walleij
--
To unsubscribe from this list: send the line unsubscribe linux-kernel in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/


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 Woodhousedw...@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 Woodhousedavid.woodho...@intel.com
Signed-off-by: Jason Cooperja...@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.



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 majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/


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 ja...@lakedaemon.net wrote:
 
  From: David Woodhouse dw...@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.woodho...@intel.com
  Signed-off-by: Jason Cooper ja...@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

thx,

Jason.
--
To unsubscribe from this list: send the line unsubscribe linux-kernel in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/


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 ja...@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 ja...@lakedaemon.net wrote:

  From: David Woodhouse dw...@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.woodho...@intel.com
  Signed-off-by: Jason Cooper ja...@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
--
To unsubscribe from this list: send the line unsubscribe linux-kernel in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/