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.

svn path=/trunk/; revision=34520
This commit is contained in:
Aleksey Bragin 2008-07-15 13:20:38 +00:00
parent 439d1715c8
commit f8f3b78fce

View file

@ -1274,8 +1274,7 @@ ExEnumHandleTable(IN PHANDLE_TABLE HandleTable,
/* 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))