lkml.org 
[lkml]   [2013]   [Jun]   [7]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [ 111/184] USB: cdc-wdm: fix buffer overflow
On Fri, Jun 07, 2013 at 06:01:17AM +0100, Ben Hutchings wrote:
> On Tue, 2013-06-04 at 19:23 +0200, Willy Tarreau wrote:
> > 2.6.32-longterm review patch. If anyone has any objections, please let me know.
> >
> > ------------------
> >
> > From: Oliver Neukum <oneukum@suse.de>
> >
> > commit c0f5ecee4e741667b2493c742b60b6218d40b3aa upstream.
> >
> > The buffer for responses must not overflow.
> > If this would happen, set a flag, drop the data and return
> > an error after user space has read all remaining data.
> >
> > Signed-off-by: Oliver Neukum <oliver@neukum.org>
> > Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
> > [bwh: Backported to 2.6.32: adjust context]
>
> Signed-off-by: Ben Hutchings <ben@decadent.org.uk>

Added, thanks.
willy



\
 
 \ /
  Last update: 2013-06-07 08:21    [W:0.081 / U:3.808 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site