Microsoft KB Archive/141205

{|
 * width="100%"|

PRB: Windows 95 SCSI Miniport Drivers May Generate Bad CDBs

 * }

Q141205

-

The information in this article applies to:


 * Microsoft Win32 Software Development Kit (SDK), used with:
 * Microsoft Windows 95

-

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 :

Issue type : kbprb

Technology : kbWin32SDKSearch kbAudDeveloper kbSDKSearch kbWin32sSearch