Re: [ 111/184] USB: cdc-wdm: fix buffer overflow
From: Willy Tarreau
Date: Fri Jun 07 2013 - 01:43:17 EST
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@xxxxxxx>
> > 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@xxxxxxxxxx>
> > Signed-off-by: Greg Kroah-Hartman <gregkh@xxxxxxxxxxxxxxxxxxx>
> > [bwh: Backported to 2.6.32: adjust context]
> Signed-off-by: Ben Hutchings <ben@xxxxxxxxxxxxxxx>
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/