Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
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]>
- Loading branch information