Author: fireball Date: Tue Jul 15 08:20:38 2008 New Revision: 34520
URL: http://svn.reactos.org/svn/reactos?rev=34520&view=rev Log: Stefan Ginsberg stefan__100__@hotmail.com - Remove a hack in the executive handle implementation, which worked around a memory corruption bug. Revision 32770 should have fixed the bug hidden by this hack. See issue #3512 for more details.
Modified: trunk/reactos/ntoskrnl/ex/handle.c
Modified: trunk/reactos/ntoskrnl/ex/handle.c URL: http://svn.reactos.org/svn/reactos/trunk/reactos/ntoskrnl/ex/handle.c?rev=34... ============================================================================== --- trunk/reactos/ntoskrnl/ex/handle.c [iso-8859-1] (original) +++ trunk/reactos/ntoskrnl/ex/handle.c [iso-8859-1] Tue Jul 15 08:20:38 2008 @@ -1274,8 +1274,7 @@ /* Validate the entry */ if ((HandleTableEntry) && (HandleTableEntry->Object) && - (HandleTableEntry->NextFreeTableEntry != -2) && - (HandleTableEntry->Object != (PVOID)0xCDCDCDCD)) // HACK OF ETERNAL LAPDANCE + (HandleTableEntry->NextFreeTableEntry != -2)) { /* Lock the entry */ if (ExpLockHandleTableEntry(HandleTable, HandleTableEntry))