[ros-diffs] [arty] 44070: Remove assertions that were useful in tracking down out of range block access. These don't apply to real use.

arty at svn.reactos.org arty at svn.reactos.org
Tue Nov 10 04:12:02 CET 2009


Author: arty
Date: Tue Nov 10 04:12:02 2009
New Revision: 44070

URL: http://svn.reactos.org/svn/reactos?rev=44070&view=rev
Log:
Remove assertions that were useful in tracking down out of range block access.
These don't apply to real use.

Modified:
    branches/arty-newcc/ntoskrnl/cache/pinsup.c

Modified: branches/arty-newcc/ntoskrnl/cache/pinsup.c
URL: http://svn.reactos.org/svn/reactos/branches/arty-newcc/ntoskrnl/cache/pinsup.c?rev=44070&r1=44069&r2=44070&view=diff
==============================================================================
--- branches/arty-newcc/ntoskrnl/cache/pinsup.c [iso-8859-1] (original)
+++ branches/arty-newcc/ntoskrnl/cache/pinsup.c [iso-8859-1] Tue Nov 10 04:12:02 2009
@@ -304,7 +304,6 @@
     DPRINT("CcMapData(F->%x,%x:%d)\n", FileObject, FileOffset->LowPart, Length);
 
     ASSERT(KeGetCurrentIrql() < DISPATCH_LEVEL);
-	ASSERT(FileOffset->QuadPart < 0x10000000);
 
     Target.QuadPart = CACHE_ROUND_DOWN(FileOffset->QuadPart);
 
@@ -430,8 +429,6 @@
 	*BcbResult = &CcCacheSections[BcbHead];
 	*Buffer = ((PCHAR)Bcb->BaseAddress) + (int)(FileOffset->QuadPart - Bcb->FileOffset.QuadPart);
 
-	ASSERT(FileOffset->QuadPart < 0x10000000);
-
 	DPRINT
 		("Bcb #%x Buffer maps (%x) At %x Length %x (Getting %x:%x) %wZ\n", 
 		 Bcb - CcCacheSections,




More information about the Ros-diffs mailing list