Ethereal-dev: [Ethereal-dev] Inquiry data causes hang

Note: This archive is from the project's previous web site, ethereal.com. This list is no longer active.

From: Eddy Quicksall <eddy_quicksall@xxxxxxxxxxx>
Date: Wed, 16 Apr 2003 14:32:36 -0400

The following inquiry Read Data causes Ethereal to hang. The problem is in the 1st identifier (offsets 4-F).

 

I have attached two files: page83_bad.eth is the one that hangs (and is decoded below) and page83_good.eth is without the vendor specific identifier which does not hang.

 

 

 

I->T

      00 01 02 03 SCSI Command

      ----------- +---------------+---------------+---------------+---------------+

0000: 01 C0 00 00 |.|I| 0x01      |F|R|W|0 0|ATTR | Reserved                      |

0004: 00 00 00 00 |TotalAHSLength | DataSegmentLength                             |

0008: 00 00 00 00 | Logical Unit Number (LUN)                                     |

0012: 00 00 00 00 |                                                               |

0016: 00 00 00 05 | Initiator Task Tag                                            |

0020: 00 00 00 FF | Expected Data Transfer Length                                 |

0024: 00 00 00 05 | CmdSN                                                         |

0028: 00 00 00 06 | ExpStatSN                                                     |

0032: 12 01 83 00 | SCSI Command Descriptor Block (CDB)                           |

0036: FF 00 00 00 |                                                               |

0040: 00 00 00 00 |                                                               |

0044: 00 00 00 00 |                                                               |

 

T->I

      00 01 02 03 Read Data

      ----------- +---------------+---------------+---------------+---------------+

0000: 25 83 00 00 |.|.| 0x25      |F|A|0 0 0|O|U|S| Reserved      |Status or Rsvd |

0004: 00 00 00 40 |TotalAHSLength | DataSegmentLength                             |

0008: 00 00 00 00 | LUN or Reserved                                               |

0012: 00 00 00 00 |                                                               |

0016: 00 00 00 05 | Initiator Task Tag                                            |

0020: FF FF FF FF | Target Transfer Tag or 0xffffffff                             |

0024: 00 00 00 06 | StatSN or Reserved                                            |

0028: 00 00 00 06 | ExpCmdSN                                                      |

0032: 00 00 03 ED | MaxCmdSN                                                      |

0036: 00 00 00 00 | DataSN                                                        |

0040: 00 00 00 00 | Buffer Offset                                                 |

0044: 00 00 00 BF | Residual Count                                                |

 

 

      00 01 02 03 04 05 06 07  08 09 0A 0B 0C 0D 0E 0F

      ------------------------------------------------

0000: 00 83 00 3C 01 00 00 08  12 34 56 01 78 9A 00 00  ...<.... .4V.x...

0010: 02 01 00 20 69 56 69 76  69 74 79 20 56 69 72 74  ... iViv ity Virt

0020: 20 54 65 73 74 20 44 65  76 20 20 20 20 20 20 20   Test De v      

0030: 30 30 30 30 01 02 00 08  01 23 23 01 78 9A 00 00  0000.... .##.x...

 

Eddy_Quicksall@xxxxxxxxxxx

 

Attachment: page83_bad.eth
Description: Binary data

Attachment: page83_good.eth
Description: Binary data