mirror of
https://github.com/ApfelTeeSaft/reactos.git
synced 2026-08-29 04:13:32 +00:00
[NTOS]
- Avoid removing list entry if the list is empty in IopUnQueueIrpFromThread CORE-8419 svn path=/trunk/; revision=66207
This commit is contained in:
@@ -51,6 +51,8 @@ VOID
|
||||
IopUnQueueIrpFromThread(IN PIRP Irp)
|
||||
{
|
||||
/* Remove it from the list and reset it */
|
||||
if (IsListEmpty(&Irp->ThreadListEntry))
|
||||
return;
|
||||
RemoveEntryList(&Irp->ThreadListEntry);
|
||||
InitializeListHead(&Irp->ThreadListEntry);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user