- Base data queue entry on the right struct member in NpCompleteStalledWrites. Fixes list entry corruption found in CORE-8419.

svn path=/trunk/; revision=63826
This commit is contained in:
Thomas Faber 2014-08-07 10:10:02 +00:00
parent 6d3abb68c2
commit beb99d9992

View file

@ -62,7 +62,9 @@ NpCompleteStalledWrites(IN PNP_DATA_QUEUE DataQueue,
{
if (!QuotaLeft) break;
DataQueueEntry = CONTAINING_RECORD(NextEntry, NP_DATA_QUEUE_ENTRY, Irp);
DataQueueEntry = CONTAINING_RECORD(NextEntry,
NP_DATA_QUEUE_ENTRY,
QueueEntry);
Irp = DataQueueEntry->Irp;