mirror of
https://github.com/ApfelTeeSaft/reactos.git
synced 2026-09-02 04:13:34 +00:00
Stefan Ginsberg <[email protected]>
- 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:
@@ -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))
|
||||
|
||||
Reference in New Issue
Block a user