Groups | Search | Server Info | Login | Register
Groups > comp.os.ms-windows.programmer.nt.kernel-mode > #53
| Newsgroups | comp.os.ms-windows.programmer.nt.kernel-mode |
|---|---|
| Date | 2014-05-07 17:34 -0700 |
| Message-ID | <fac93bf8-8b1b-4735-83ec-5aa2709b24c4@googlegroups.com> (permalink) |
| Subject | IOCTL_SCSI_PASS_THROUGH_DIRECT BSOD |
| From | John <milkyrivers@gmail.com> |
Hi, I inherited a disk lower filter driver project that besides other things catches DeviceControl requests specifically IOCTL_SCSI_PASS_THROUGH and IOCTL_SCSI_PASS_THROUGH_DIRECT. I just discovered a bug that caused the blue screen. In some cases the driver sets a completion routine with the idea of modifying some of the data before it is returned to the caller. But the driver code is taking the user mode buffer pointer from the SCSI_PASS_THROUGH_DIRECT structure which is wrong. Now my question is what is the right way to access that buffer safely in the driver completion routine? Thanks a lot, John
Back to comp.os.ms-windows.programmer.nt.kernel-mode | Previous | Next | Find similar
IOCTL_SCSI_PASS_THROUGH_DIRECT BSOD John <milkyrivers@gmail.com> - 2014-05-07 17:34 -0700
csiph-web