crash the system is someone uses RTL functions that normally shouldn't
be in ntoskrnl at all
Modified: trunk/reactos/ntoskrnl/rtl/libsupp.c
_____
Modified: trunk/reactos/ntoskrnl/rtl/libsupp.c
--- trunk/reactos/ntoskrnl/rtl/libsupp.c 2005-10-27 23:24:15 UTC
(rev 18815)
+++ trunk/reactos/ntoskrnl/rtl/libsupp.c 2005-10-27 23:31:14 UTC
(rev 18816)
@@ -98,6 +98,7 @@
RtlDeleteHeapLock(
PRTL_CRITICAL_SECTION CriticalSection)
{
+ KEBUGCHECK(0);
return STATUS_SUCCESS;
}
@@ -106,7 +107,7 @@
RtlEnterHeapLock(
PRTL_CRITICAL_SECTION CriticalSection)
{
- ExAcquireFastMutex((PFAST_MUTEX) CriticalSection);
+ KEBUGCHECK(0);
return STATUS_SUCCESS;
}
@@ -115,7 +116,7 @@
RtlInitializeHeapLock(
PRTL_CRITICAL_SECTION CriticalSection)
{
- ExInitializeFastMutex((PFAST_MUTEX)CriticalSection );
+ KEBUGCHECK(0);
return STATUS_SUCCESS;
}
@@ -124,7 +125,7 @@
RtlLeaveHeapLock(
PRTL_CRITICAL_SECTION CriticalSection)
{
- ExReleaseFastMutex((PFAST_MUTEX) CriticalSection );
+ KEBUGCHECK(0);
return STATUS_SUCCESS;
}
Show replies by date