ntdll: Relax the activation context size check.

This commit is contained in:
Alexandre Julliard 2007-08-02 13:07:23 +02:00
parent c37b95bbaa
commit ed3b5322f6
1 changed files with 1 additions and 1 deletions

View File

@ -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;