diff --git a/reactos/lib/rtl/actctx.c b/reactos/lib/rtl/actctx.c index 562240c2b61..2abea6e172c 100644 --- a/reactos/lib/rtl/actctx.c +++ b/reactos/lib/rtl/actctx.c @@ -2710,6 +2710,10 @@ RtlFindActivationContextSectionString( ULONG flags, const GUID *guid, ULONG sect status = STATUS_SXS_KEY_NOT_FOUND; + /* if there is no data, but params are valid, + we return that sxs key is not found to be at least somehow compatible */ + if (!data) return status; + ASSERT(NtCurrentTeb()); ASSERT(NtCurrentTeb()->ActivationContextStackPointer);