Home
last modified time | relevance | path

Searched hist:"7309 aa847ead3fa561663b16779a0dde8c64cc7c" (Results 1 – 1 of 1) sorted by relevance

/openbmc/linux/drivers/usb/class/
H A Dcdc-acm.cdiff 7309aa847ead3fa561663b16779a0dde8c64cc7c Wed Nov 02 08:42:52 CDT 2016 Oliver Neukum <oneukum@suse.com> 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>