[PATCH 3/7] ntoskrnl: intialze unknown fields of the irp with 0xce in IoInitializeIrp

Alexandre Julliard julliard at winehq.org
Tue Nov 8 07:02:24 CST 2011


Bernhard Loos <bernhardloos at googlemail.com> writes:

> @@ -864,6 +873,10 @@ VOID WINAPI IoCompleteRequest( IRP *irp, UCHAR priority_boost )
>  
>      iosb = irp->UserIosb;
>      status = irp->IoStatus.u.Status;
> +
> +    assert( status != STATUS_PENDING );
> +    assert( status != 0xdeafbeef );
> +

You can't assert on things that are set by the caller.

-- 
Alexandre Julliard
julliard at winehq.org



More information about the wine-devel mailing list