Dan Rosenberg 7011e66093 drivers/net/usb/hso.c: prevent reading uninitialized memory
Fixed formatting (tabs and line breaks).

The TIOCGICOUNT device ioctl allows unprivileged users to read
uninitialized stack memory, because the "reserved" member of the
serial_icounter_struct struct declared on the stack in hso_get_count()
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: David S. Miller <davem@davemloft.net>
2010-09-16 21:54:59 -07:00
..
2010-05-17 17:44:48 -07:00
2010-06-03 03:18:23 -07:00
2010-04-27 18:12:04 -07:00
2010-05-17 17:44:47 -07:00
2010-06-03 03:18:23 -07:00
2009-05-01 15:27:02 -07:00