Author: fireball Date: Thu Apr 14 12:20:47 2011 New Revision: 51339
URL: http://svn.reactos.org/svn/reactos?rev=51339&view=rev Log: [RTL] - If there is no data provided and parameters are valid, fail with STATUS_SXS_KEY_NOT_FOUND.
Modified: trunk/reactos/lib/rtl/actctx.c
Modified: trunk/reactos/lib/rtl/actctx.c URL: http://svn.reactos.org/svn/reactos/trunk/reactos/lib/rtl/actctx.c?rev=51339&... ============================================================================== --- trunk/reactos/lib/rtl/actctx.c [iso-8859-1] (original) +++ trunk/reactos/lib/rtl/actctx.c [iso-8859-1] Thu Apr 14 12:20:47 2011 @@ -2710,6 +2710,10 @@
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);