Wireshark-commits: [Wireshark-commits] rev 25193: /trunk/epan/dissectors/ /trunk/epan/dissectors/:
Date: Tue, 29 Apr 2008 12:27:38 GMT
http://anonsvn.wireshark.org/viewvc/viewvc.cgi?view=rev&revision=25193

User: morriss
Date: 2008/04/29 05:27 AM

Log:
 Move minimum byte count test from dissect_scsi_smc_element() up into the calling dissect_scsi_smc_elements() so we can break out of the loop if we're not advancing through the packet.  This fixes the infinite loop reported in http://bugs.wireshark.org/bugzilla/show_bug.cgi?id=2508

Directory: /trunk/epan/dissectors/
  Changes    Path                 Action
  +10 -7     packet-scsi-smc.c    Modified