Messages in this thread | | | Date | Fri, 7 Jun 2013 07:43:06 +0200 | From | Willy Tarreau <> | Subject | Re: [ 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
| |