Re: [PATCH 3/7] ntoskrnl: intialze unknown fields of the irp with 0xce in IoInitializeIrp
8 Nov
2011
8 Nov
'11
1:02 p.m.
Bernhard Loos <bernhardloos(a)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(a)winehq.org
5238
Age (days ago)
5238
Last active (days ago)
0 comments
1 participants
participants (1)
-
Alexandre Julliard