rev 17784: /trunk/epan/dissectors/: packet-scsi.c
| Newsgroups | gmane.network.ethereal.cvs |
|---|---|
| Message-ID | <[email protected]> |
User: sahlberg Date: 2006/04/02 05:50 PM Log: change TRY_SCSI_SHORT_TRANSFER to use the allocation length specified in the CDB instead of the allocation length from the data pdu since sometimes the datapdu will be completely empty and thus we cant extract it from the data pdu. (unclear if this is really allowed by scsi but anyway) this should make the scsi transfer length checking more correct. update mmc getconfiguration and spc inquiry to use these macros and flag these packets that are short due to a too small alloc_len as truncated due to scsi and not being short/malformed packets. at the same time, get rid of a few horrible offset+x in the inquiry dissector and replace with proper offset incrementation instead. Directory: /trunk/epan/dissectors/ Changes Path Action +79 -38 packet-scsi.c Modified http://anonsvn.ethereal.com/viewcvs/viewcvs.py?rev=17784&view=rev