mirror of
https://github.com/reactos/reactos.git
synced 2024-12-28 10:04:49 +00:00
crash the system is someone uses RTL functions that normally shouldn't be in ntoskrnl at all
svn path=/trunk/; revision=18816
This commit is contained in:
parent
80570317cb
commit
7c0b5680c1
1 changed files with 4 additions and 3 deletions
|
@ -98,6 +98,7 @@ STDCALL
|
|||
RtlDeleteHeapLock(
|
||||
PRTL_CRITICAL_SECTION CriticalSection)
|
||||
{
|
||||
KEBUGCHECK(0);
|
||||
return STATUS_SUCCESS;
|
||||
}
|
||||
|
||||
|
@ -106,7 +107,7 @@ STDCALL
|
|||
RtlEnterHeapLock(
|
||||
PRTL_CRITICAL_SECTION CriticalSection)
|
||||
{
|
||||
ExAcquireFastMutex((PFAST_MUTEX) CriticalSection);
|
||||
KEBUGCHECK(0);
|
||||
return STATUS_SUCCESS;
|
||||
}
|
||||
|
||||
|
@ -115,7 +116,7 @@ STDCALL
|
|||
RtlInitializeHeapLock(
|
||||
PRTL_CRITICAL_SECTION CriticalSection)
|
||||
{
|
||||
ExInitializeFastMutex((PFAST_MUTEX)CriticalSection );
|
||||
KEBUGCHECK(0);
|
||||
return STATUS_SUCCESS;
|
||||
}
|
||||
|
||||
|
@ -124,7 +125,7 @@ STDCALL
|
|||
RtlLeaveHeapLock(
|
||||
PRTL_CRITICAL_SECTION CriticalSection)
|
||||
{
|
||||
ExReleaseFastMutex((PFAST_MUTEX) CriticalSection );
|
||||
KEBUGCHECK(0);
|
||||
return STATUS_SUCCESS;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue