From c0a4a591d8af617dcff5cae46199adb199cf009c Mon Sep 17 00:00:00 2001 From: Johannes Anderwald Date: Mon, 21 Sep 2009 18:11:52 +0000 Subject: [PATCH] - Fix playing global thermo nuclear war in ReactOS - Found by encoded svn path=/trunk/; revision=43105 --- reactos/drivers/ksfilter/ks/irp.c | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/reactos/drivers/ksfilter/ks/irp.c b/reactos/drivers/ksfilter/ks/irp.c index 4d1ec7de7b9..a874abce4d0 100644 --- a/reactos/drivers/ksfilter/ks/irp.c +++ b/reactos/drivers/ksfilter/ks/irp.c @@ -772,7 +772,7 @@ ProbeMdl: /* check all stream headers */ StreamHeader = (PKSSTREAM_HEADER)Irp->AssociatedIrp.SystemBuffer; - + ASSERT(StreamHeader); _SEH2_TRY { do @@ -880,7 +880,10 @@ ProbeMdl: /* now probe the allocated mdl's */ if (!NT_SUCCESS(Status)) + { + DPRINT("Status %x\n", Status); return Status; + } else goto ProbeMdl; } @@ -1607,7 +1610,7 @@ KsAddIrpToCancelableQueue( 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;