[PORTCLS]

- Fix possible dereferencing of null pointer
- Found by Amine Khaldi

svn path=/trunk/; revision=44545
This commit is contained in:
Johannes Anderwald 2009-12-12 13:27:05 +00:00
parent c0d4619777
commit 1caea1d387

View file

@ -484,7 +484,7 @@ DumpFilterDescriptor(
RtlStringFromGUID(*EventItem->Set, &GuidString);
DPRINT1("EventIndex %u GUID %S Id %u Flags %x\n", Index, GuidString.Buffer, EventItem->Id, EventItem->Flags);
EventItem = (PPCEVENT_ITEM)((ULONG_PTR)EventItem + FilterDescription->AutomationTable->EventItemSize);
EventItem = (PPCEVENT_ITEM)((ULONG_PTR)EventItem + NodeDescriptor->AutomationTable->EventItemSize);
}
}