summaryrefslogtreecommitdiffstats
path: root/drivers/usb/usb-skeleton.c
diff options
context:
space:
mode:
authorOliver Neukum2016-11-02 14:42:52 +0100
committerGreg Kroah-Hartman2016-11-07 10:15:22 +0100
commit7309aa847ead3fa561663b16779a0dde8c64cc7c (patch)
treebaeaaec22975af8624363b49e9ee4881277313cc /drivers/usb/usb-skeleton.c
parentdrivers/usb: Skip auto handoff for TI and RENESAS usb controllers (diff)
downloadkernel-qcow2-linux-7309aa847ead3fa561663b16779a0dde8c64cc7c.tar.gz
kernel-qcow2-linux-7309aa847ead3fa561663b16779a0dde8c64cc7c.tar.xz
kernel-qcow2-linux-7309aa847ead3fa561663b16779a0dde8c64cc7c.zip
cdc-acm: fix uninitialized variable
variable struct usb_cdc_parsed_header h may be used uninitialized in acm_probe. In kernel 4.8. /* handle quirks deadly to normal probing*/ if (quirks == NO_UNION_NORMAL) ... goto skip_normal_probe; } we bypass call to cdc_parse_cdc_header(&h, intf, buffer, buflen); but later use h in if (h.usb_cdc_country_functional_desc) { /* export the country data */ Signed-off-by: Oliver Neukum <oneukum@suse.com> CC: stable@vger.kernel.org Reported-by: Victor Sologoubov <victor0@rambler.ru> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/usb/usb-skeleton.c')
0 files changed, 0 insertions, 0 deletions