Changeset 85d0cf8 in mainline for uspace/lib/usb/src


Ignore:
Timestamp:
2011-01-21T13:25:13Z (15 years ago)
Author:
Vojtech Horky <vojtechhorky@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
b93d637
Parents:
466b120 (diff), 5d00e40 (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the (diff) links above to see all the changes relative to each parent.
Message:

Merge development/ changes

File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/lib/usb/src/recognise.c

    r466b120 r85d0cf8  
    203203                uint8_t cur_descr_len = current_descriptor[0];
    204204                uint8_t cur_descr_type = current_descriptor[1];
     205
     206                if (cur_descr_len == 0) {
     207                        return ENOENT;
     208                }
    205209               
    206210                position += cur_descr_len;
Note: See TracChangeset for help on using the changeset viewer.