Assist SDV in realizing that non-NULL IRP => non-NULL buffer
Signed-off-by: Simon Rozman <simon@rozman.si>
This commit is contained in:
parent
4c47c2fbbf
commit
207e1c4896
3
wintun.c
3
wintun.c
@ -527,6 +527,9 @@ static void TunQueueProcess(_Inout_ TUN_CTX *ctx)
|
|||||||
TunNBLRefDec(ctx, nbl, 0);
|
TunNBLRefDec(ctx, nbl, 0);
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
_Analysis_assume_(buffer);
|
||||||
|
_Analysis_assume_(irp->IoStatus.Information <= size);
|
||||||
} else
|
} else
|
||||||
nb = TunQueueRemove(ctx, &nbl);
|
nb = TunQueueRemove(ctx, &nbl);
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user