Commit a7908da4 authored by Zebediah Figura's avatar Zebediah Figura Committed by Alexandre Julliard

http.sys: Avoid touching the IRP structure after queueing it.

parent d7c9cd2e
......@@ -1233,6 +1233,7 @@ static NTSTATUS http_receive_request(struct request_queue *queue, IRP *irp)
}
else
{
IoMarkIrpPending(irp);
InsertTailList(&queue->irp_queue, &irp->Tail.Overlay.ListEntry);
ret = STATUS_PENDING;
}
......@@ -1362,8 +1363,6 @@ static NTSTATUS WINAPI dispatch_ioctl(DEVICE_OBJECT *device, IRP *irp)
irp->IoStatus.Status = ret;
IoCompleteRequest(irp, IO_NO_INCREMENT);
}
else
IoMarkIrpPending(irp);
return ret;
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment