Commit in reactos/ntoskrnl/mm on MAIN
section.c+2-21.149 -> 1.150
- Fixed a wrong address in MmAlterViewAttributes which possible does cause a crash if the region is longer than one page.

reactos/ntoskrnl/mm
section.c 1.149 -> 1.150
diff -u -r1.149 -r1.150
--- section.c	1 May 2004 17:11:34 -0000	1.149
+++ section.c	30 May 2004 12:55:11 -0000	1.150
@@ -16,7 +16,7 @@
  *  along with this program; if not, write to the Free Software
  *  Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
  */
-/* $Id: section.c,v 1.149 2004/05/01 17:11:34 tamlin Exp $
+/* $Id: section.c,v 1.150 2004/05/30 12:55:11 hbirr Exp $
  *
  * PROJECT:         ReactOS kernel
  * FILE:            ntoskrnl/mm/section.c
@@ -1978,7 +1978,7 @@
 
          if (MmIsPagePresent(AddressSpace->Process, Address))
          {
-            MmSetPageProtect(AddressSpace->Process, BaseAddress,
+            MmSetPageProtect(AddressSpace->Process, Address,
                              Protect);
          }
       }
CVSspam 0.2.8