mirror of
https://github.com/reactos/reactos.git
synced 2024-07-06 12:45:16 +00:00
[ntdll]
fix parameter check in RtlFindActivationContextSectionString svn path=/trunk/; revision=63204
This commit is contained in:
parent
392953e09d
commit
0223435eb2
|
@ -5130,7 +5130,7 @@ RtlpFindActivationContextSection_CheckParameters( ULONG flags, const GUID *guid,
|
|||
const UNICODE_STRING *section_name, PACTCTX_SECTION_KEYED_DATA data )
|
||||
{
|
||||
/* Check general parameter combinations */
|
||||
if (!section_name ||
|
||||
if (!section_name || !section_name->Buffer ||
|
||||
(flags & ~FIND_ACTCTX_VALID_MASK) ||
|
||||
((flags & FIND_ACTCTX_VALID_MASK) && !data) ||
|
||||
(data && data->cbSize < offsetof(ACTCTX_SECTION_KEYED_DATA, ulAssemblyRosterIndex)))
|
||||
|
|
Loading…
Reference in a new issue