|
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] Re: Improved iSCSI dissectorEmbarrassingly, my previous post contained a small, but significant bug. Please apply the enclosed patch to packet-iscsi.c. Silly me. Mark --- packet-iscsi.c- Sun Oct 21 11:24:06 2001 +++ packet-iscsi.c Sun Oct 21 17:51:38 2001 @@ -1212,6 +1212,8 @@ } dissect_iscsi_pdu(tvb, pinfo, tree, offset, opcode, opcode_str, data_segment_len); + if(pduLen > available_bytes) + pduLen = available_bytes; offset += pduLen; available_bytes -= pduLen; ++iSCSIPdusDissected;
Home Last updated: Sun Oct 21 14:17:28 2001 7312 messages in chronological order |