Files
linux/drivers/usb/serial
Dan Rosenberg f2ba1916d3 USB: serial/mos*: prevent reading uninitialized stack memory
commit a0846f1868 upstream.

The TIOCGICOUNT device ioctl in both mos7720.c and mos7840.c allows
unprivileged users to read uninitialized stack memory, because the
"reserved" member of the serial_icounter_struct struct declared on the
stack is not altered or zeroed before being copied back to the user.
This patch takes care of it.

Signed-off-by: Dan Rosenberg <dan.j.rosenberg@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
2010-09-26 17:21:14 -07:00
..
2010-07-05 11:10:36 -07:00
2010-07-05 11:10:36 -07:00
2010-07-05 11:10:35 -07:00
2010-08-26 16:41:56 -07:00
2010-04-01 15:58:33 -07:00
2010-07-05 11:10:34 -07:00