Author: pschweitzer
Date: Sun May 5 09:55:32 2013
New Revision: 58938
URL:
http://svn.reactos.org/svn/reactos?rev=58938&view=rev
Log:
[RTL]
Comment out RtlAcquirePrivilege & RtlReleasePrivilege for the moment.
It appears we are overflowing memory and thus corrupting registry, that breaks ReactOS
install.
To be investigated...
Modified:
trunk/reactos/lib/rtl/priv.c
Modified: trunk/reactos/lib/rtl/priv.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/lib/rtl/priv.c?rev=58938&a…
==============================================================================
--- trunk/reactos/lib/rtl/priv.c [iso-8859-1] (original)
+++ trunk/reactos/lib/rtl/priv.c [iso-8859-1] Sun May 5 09:55:32 2013
@@ -112,6 +112,7 @@
IN ULONG Flags,
OUT PVOID *ReturnedState)
{
+#if 0
NTSTATUS Status;
PRTL_ACQUIRE_STATE State;
ULONG ReturnLength, i, OldSize;
@@ -344,6 +345,10 @@
RtlFreeHeap(RtlGetProcessHeap(), 0, State);
return Status;
+#else
+ UNIMPLEMENTED;
+ return STATUS_NOT_IMPLEMENTED;
+#endif
}
/*
@@ -353,6 +358,7 @@
NTAPI
RtlReleasePrivilege(IN PVOID ReturnedState)
{
+#if 0
NTSTATUS Status;
PRTL_ACQUIRE_STATE State = (PRTL_ACQUIRE_STATE)ReturnedState;
@@ -388,6 +394,9 @@
/* Release token and free state */
ZwClose(State->Token);
RtlFreeHeap(RtlGetProcessHeap(), 0, State);
+#else
+ UNIMPLEMENTED;
+#endif
}
/*