mirror of
git://source.winehq.org/git/wine.git
synced 2024-10-06 08:50:49 +00:00
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);
|
||||
|
||||
if (!pActCtx || pActCtx->cbSize != sizeof(*pActCtx) ||
|
||||
if (!pActCtx || pActCtx->cbSize < sizeof(*pActCtx) ||
|
||||
(pActCtx->dwFlags & ~ACTCTX_FLAGS_ALL))
|
||||
return STATUS_INVALID_PARAMETER;
|
||||
|
||||
|
|
Loading…
Reference in a new issue