Author: sir_richard
Date: Wed Nov 24 14:39:23 2010
New Revision: 49770
URL:
http://svn.reactos.org/svn/reactos?rev=49770&view=rev
Log:
[NTOS]: Erm, why is it that the ARM compiler detects this obvious bug, but x86 does not?
Fix missing ShareCount zeroing when unlocking an MDL.
Modified:
trunk/reactos/ntoskrnl/mm/ARM3/mdlsup.c
Modified: trunk/reactos/ntoskrnl/mm/ARM3/mdlsup.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/ntoskrnl/mm/ARM3/mdlsup.c?…
==============================================================================
--- trunk/reactos/ntoskrnl/mm/ARM3/mdlsup.c [iso-8859-1] (original)
+++ trunk/reactos/ntoskrnl/mm/ARM3/mdlsup.c [iso-8859-1] Wed Nov 24 14:39:23 2010
@@ -271,7 +271,7 @@
//
Pfn1->u3.e1.StartOfAllocation = 0;
Pfn1->u3.e1.EndOfAllocation = 0;
- Pfn1->u2.ShareCount == 0;
+ Pfn1->u2.ShareCount = 0;
//
// Dereference it