ntdll: Relax the activation context size check.
This commit is contained in:
parent
c37b95bbaa
commit
ed3b5322f6
|
@ -2157,7 +2157,7 @@ NTSTATUS WINAPI RtlCreateActivationContext( HANDLE *handle, const void *ptr )
|
||||||
|
|
||||||
TRACE("%p %08x\n", pActCtx, pActCtx ? pActCtx->dwFlags : 0);
|
TRACE("%p %08x\n", pActCtx, pActCtx ? pActCtx->dwFlags : 0);
|
||||||
|
|
||||||
if (!pActCtx || pActCtx->cbSize != sizeof(*pActCtx) ||
|
if (!pActCtx || pActCtx->cbSize < sizeof(*pActCtx) ||
|
||||||
(pActCtx->dwFlags & ~ACTCTX_FLAGS_ALL))
|
(pActCtx->dwFlags & ~ACTCTX_FLAGS_ALL))
|
||||||
return STATUS_INVALID_PARAMETER;
|
return STATUS_INVALID_PARAMETER;
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue