USB CCID dissector "runs off the rails" when trying to dissect non-existent RDR_to_PC_DataBlock payloads
This issue was migrated from bug 8735 in our old bug tracker.
Original bug information:
Reporter: Tyson Key
Status: RESOLVED FIXED
Product: Wireshark
Component: Dissection engine (libwireshark)
OS: All
Platform: All
Version: Git
Attachments:
RDR_PC_DataBlock_Suppress_Malformed.patch: A patch that checks to see if usbccid.dwLength == 0, before trying to dissect non-existent RDR_to_PC_DataBlock payloads
PN53x_SAM_and_Contact_ATRs.cap: A trace file that exhibits this issue, set USB CCID dissector's payload type to "Generic ISO 7816" to test
No_Malformed_2.patch: An updated version of the patch
packet-usb-ccid.c.patch: patch with corrected length, column optimization