mirror of
https://github.com/ApfelTeeSaft/reactos.git
synced 2026-08-29 19:26:33 +00:00
[ntdll]
fix parameter check in RtlFindActivationContextSectionString svn path=/trunk/; revision=63204
This commit is contained in:
@@ -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)))
|
||||
|
||||
Reference in New Issue
Block a user