http://code.google.com/p/dokan/source/browse/trunk/sys/dokan.c?r=171#551
erroneously declared a local variable
PMDL mdl = IoAllocateMdl(Irp->UserBuffer, Length, FALSE, FALSE, Irp);
if (mdl == NULL) {
DDbgPrint(" IoAllocateMdl returned NULL\n");
return STATUS_INSUFFICIENT_RESOURCES;
}
and forget about it
I think need to be replaced like this
Irp->MdlAddress = IoAllocateMdl(Irp->UserBuffer, Length, FALSE, FALSE, Irp);
if (Irp->MdlAddress == NULL) {
DDbgPrint(" IoAllocateMdl returned NULL\n");
return STATUS_INSUFFICIENT_RESOURCES;
}
Original issue reported on code.google.com by xxxel...@gmail.com on 7 Jan 2011 at 7:13
Original issue reported on code.google.com by
xxxel...@gmail.com
on 7 Jan 2011 at 7:13