Ignore:
Timestamp:
Apr 16, 2017, 3:07:01 PM (3 months ago)
Author:
brainslayer
Message:

update

File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/linux/universal/linux-3.18/drivers/usb/serial/safe_serial.c

    r25370 r31869  
    206206                goto out;
    207207
     208        if (length < 2) {
     209                dev_err(&port->dev, "malformed packet\n");
     210                return;
     211        }
     212
    208213        fcs = fcs_compute10(data, length, CRC10_INITFCS);
    209214        if (fcs) {
Note: See TracChangeset for help on using the changeset viewer.