[ros-diffs] [janderwald] 44545: [PORTCLS] - Fix possible dereferencing of null pointer - Found by Amine Khaldi
janderwald at svn.reactos.org
janderwald at svn.reactos.org
Sat Dec 12 14:27:06 CET 2009
Author: janderwald
Date: Sat Dec 12 14:27:05 2009
New Revision: 44545
URL: http://svn.reactos.org/svn/reactos?rev=44545&view=rev
Log:
[PORTCLS]
- Fix possible dereferencing of null pointer
- Found by Amine Khaldi
Modified:
trunk/reactos/drivers/wdm/audio/backpln/portcls/undoc.cpp
Modified: trunk/reactos/drivers/wdm/audio/backpln/portcls/undoc.cpp
URL: http://svn.reactos.org/svn/reactos/trunk/reactos/drivers/wdm/audio/backpln/portcls/undoc.cpp?rev=44545&r1=44544&r2=44545&view=diff
==============================================================================
--- trunk/reactos/drivers/wdm/audio/backpln/portcls/undoc.cpp [iso-8859-1] (original)
+++ trunk/reactos/drivers/wdm/audio/backpln/portcls/undoc.cpp [iso-8859-1] Sat Dec 12 14:27:05 2009
@@ -484,7 +484,7 @@
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);
}
}
More information about the Ros-diffs
mailing list