From 1caea1d3877241ba11f2403ac662a4c395822642 Mon Sep 17 00:00:00 2001 From: Johannes Anderwald Date: Sat, 12 Dec 2009 13:27:05 +0000 Subject: [PATCH] [PORTCLS] - Fix possible dereferencing of null pointer - Found by Amine Khaldi svn path=/trunk/; revision=44545 --- reactos/drivers/wdm/audio/backpln/portcls/undoc.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/reactos/drivers/wdm/audio/backpln/portcls/undoc.cpp b/reactos/drivers/wdm/audio/backpln/portcls/undoc.cpp index 45e11cf90c1..5be3f45e115 100644 --- a/reactos/drivers/wdm/audio/backpln/portcls/undoc.cpp +++ b/reactos/drivers/wdm/audio/backpln/portcls/undoc.cpp @@ -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); } } -- 2.17.1