From 7c0b5680c176f0d0fc2a6dc96c0543bc7fb874d8 Mon Sep 17 00:00:00 2001 From: Thomas Bluemel Date: Thu, 27 Oct 2005 23:31:14 +0000 Subject: [PATCH] crash the system is someone uses RTL functions that normally shouldn't be in ntoskrnl at all svn path=/trunk/; revision=18816 --- reactos/ntoskrnl/rtl/libsupp.c | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/reactos/ntoskrnl/rtl/libsupp.c b/reactos/ntoskrnl/rtl/libsupp.c index 261ace0d93d..34ad4a1a3fc 100644 --- a/reactos/ntoskrnl/rtl/libsupp.c +++ b/reactos/ntoskrnl/rtl/libsupp.c @@ -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; }