mirror of
https://github.com/ApfelTeeSaft/reactos.git
synced 2026-09-02 04:13:34 +00:00
[AFD]
- Add some sanity checks svn path=/trunk/; revision=47023
This commit is contained in:
@@ -17,6 +17,10 @@
|
||||
PVOID LockRequest( PIRP Irp, PIO_STACK_LOCATION IrpSp ) {
|
||||
BOOLEAN LockFailed = FALSE;
|
||||
|
||||
ASSERT(IrpSp->Parameters.DeviceIoControl.Type3InputBuffer);
|
||||
ASSERT(IrpSp->Parameters.DeviceIoControl.InputBufferLength);
|
||||
ASSERT(!Irp->MdlAddress);
|
||||
|
||||
Irp->MdlAddress =
|
||||
IoAllocateMdl( IrpSp->Parameters.DeviceIoControl.Type3InputBuffer,
|
||||
IrpSp->Parameters.DeviceIoControl.InputBufferLength,
|
||||
|
||||
Reference in New Issue
Block a user