Author: janderwald
Date: Mon Oct 5 21:15:04 2009
New Revision: 43306
URL:
http://svn.reactos.org/svn/reactos?rev=43306&view=rev
Log:
- Fix a critical bug in the counted worker implementation
Modified:
trunk/reactos/drivers/ksfilter/ks/worker.c
Modified: trunk/reactos/drivers/ksfilter/ks/worker.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/drivers/ksfilter/ks/worker…
==============================================================================
--- trunk/reactos/drivers/ksfilter/ks/worker.c [iso-8859-1] (original)
+++ trunk/reactos/drivers/ksfilter/ks/worker.c [iso-8859-1] Mon Oct 5 21:15:04 2009
@@ -179,7 +179,7 @@
if (NT_SUCCESS(Status))
{
/* get ks worker implementation */
- KsWorker = (PKSIWORKER)Worker;
+ KsWorker = *(PKSIWORKER*)Worker;
/* store counted work item */
KsWorker->CountedWorkItem = CountedWorkItem;
}