Files
Linux/drivers
Oliver Neukum 7309aa847e 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 <[email protected]>
CC: [email protected]
Reported-by: Victor Sologoubov <[email protected]>
Signed-off-by: Greg Kroah-Hartman <[email protected]>
2016-11-07 10:15:22 +01:00
..
…
…
…
…
…
…
…
…
2016-10-10 10:58:22 +02:00
…
…
…
…
…
2016-10-19 08:39:47 -07:00
…
…
…
…
…
…
…
…
…
…
2016-10-11 15:06:33 -07:00
…
…
…
…
2016-11-07 10:15:22 +01:00
2016-11-01 09:04:04 -06:00
2016-09-29 13:36:38 -06:00
2016-10-19 08:39:47 -07:00
…
…