[ros-diffs] [janderwald] 43105: - Fix playing global thermo nuclear war in ReactOS - Found by encoded

janderwald at svn.reactos.org janderwald at svn.reactos.org
Mon Sep 21 20:11:52 CEST 2009


Author: janderwald
Date: Mon Sep 21 20:11:52 2009
New Revision: 43105

URL: http://svn.reactos.org/svn/reactos?rev=43105&view=rev
Log:
- Fix playing global thermo nuclear war in ReactOS 
- Found by encoded

Modified:
    trunk/reactos/drivers/ksfilter/ks/irp.c

Modified: trunk/reactos/drivers/ksfilter/ks/irp.c
URL: http://svn.reactos.org/svn/reactos/trunk/reactos/drivers/ksfilter/ks/irp.c?rev=43105&r1=43104&r2=43105&view=diff
==============================================================================
--- trunk/reactos/drivers/ksfilter/ks/irp.c [iso-8859-1] (original)
+++ trunk/reactos/drivers/ksfilter/ks/irp.c [iso-8859-1] Mon Sep 21 20:11:52 2009
@@ -772,7 +772,7 @@
 
         /* check all stream headers */
         StreamHeader = (PKSSTREAM_HEADER)Irp->AssociatedIrp.SystemBuffer;
-
+        ASSERT(StreamHeader);
         _SEH2_TRY
         {
             do
@@ -880,7 +880,10 @@
 
         /* now probe the allocated mdl's */
         if (!NT_SUCCESS(Status))
+		{
+            DPRINT("Status %x\n", Status);
             return Status;
+		}
         else
             goto ProbeMdl;
     }
@@ -1607,7 +1610,7 @@
     PIO_STACK_LOCATION IoStack;
     KIRQL OldLevel;
 
-    DPRINT1("KsAddIrpToCancelableQueue QueueHead %p SpinLock %p Irp %p ListLocation %x DriverCancel %p\n", QueueHead, SpinLock, Irp, ListLocation, DriverCancel);
+    DPRINT("KsAddIrpToCancelableQueue QueueHead %p SpinLock %p Irp %p ListLocation %x DriverCancel %p\n", QueueHead, SpinLock, Irp, ListLocation, DriverCancel);
     /* check for required parameters */
     if (!QueueHead || !SpinLock || !Irp)
         return;




More information about the Ros-diffs mailing list