android_kernel_xiaomi_sm8350/drivers/net/usb
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
..
asix.c
catc.c
cdc_eem.c
cdc_ether.c
cdc_subset.c
cdc-phonet.c usbnet: remove direct access to urb->status 2010-07-05 18:50:55 -07:00
dm9601.c
gl620a.c
hso.c drivers/net/usb/hso.c: prevent reading uninitialized memory 2010-09-16 21:54:59 -07:00
int51x1.c
ipheth.c ipheth: remove incorrect devtype to WWAN 2010-09-09 21:41:59 -07:00
kaweth.c
Kconfig
Makefile
mcs7830.c
net1080.c
pegasus.c usb: pegasus: fixed coding style issues 2010-06-30 10:26:16 -07:00
pegasus.h usb: pegasus: fixed coding style issues 2010-06-30 10:26:16 -07:00
plusb.c
rndis_host.c net: Revert "rndis_host: Poll status channel before control channel" 2010-07-02 21:47:54 -07:00
rtl8150.c
sierra_net.c
smsc75xx.c
smsc75xx.h
smsc95xx.c
smsc95xx.h
usbnet.c usbnet: rx_submit() should return an error code. 2010-08-10 02:50:55 -07:00
zaurus.c