PRB: Windows 95 SCSI Miniport Drivers May Generate Bad CDBs

ID: Q141205


The information in this article applies to:


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.

Additional query words: garbage


Keywords          : 
Version           : 4.0
Platform          : WINDOWS 
Issue type        : kbprb 

Last Reviewed: March 5, 1999