PRB: Windows 95 SCSI Miniport Drivers May Generate Bad CDBs (141205)



The information in this article applies to:

  • Microsoft Platform Software Development Kit (SDK) 1.0, when used with:
    • Microsoft Windows 95

This article was previously published under Q141205

SYMPTOMS

Windows 95 SCSI Miniport drivers may generate ATAPI 12-byte CDBs that contain trailing random characters.

CAUSE

Windows 95 SCSI Miniport drivers that handle ATAPI commands often need to convert the SCSI-2 6-byte or 10-byte CDBs sent by Windows 95 into 12-byte CDBs for their ATAPI hardware. The Input Output Supervisor (IOS) under Windows 95 does not zero out the CDB array in the SCSI Request Block (SRB) before writing data to it. If a driver handling ATAPI commands does not zero out the last unused bytes in the 12-byte CDB before sending the CDB to the controller, unpredictable results may occur.

RESOLUTION

Zero out the unused bytes of the 12-byte CDB before passing it to the controller.

Modification Type:MinorLast Reviewed:7/11/2005
Keywords:kbprb KB141205