mirror of
https://github.com/ApfelTeeSaft/reactos.git
synced 2026-09-03 12:23:25 +00:00
Fix size of handle count database. We really didn't want to change the size
we remembered for the old one, and the newly computed size was wacky too. We just want to add 4 to i and 4 * entry size to the size. This was found by Wax. svn path=/trunk/; revision=28343
This commit is contained in:
@@ -261,7 +261,7 @@ ObpInsertHandleCount(IN POBJECT_HEADER ObjectHeader)
|
||||
|
||||
/* Add 4 more entries */
|
||||
i += 4;
|
||||
Size = OldSize += ((i - 1) * sizeof(OBJECT_HANDLE_COUNT_ENTRY));
|
||||
Size = OldSize + (4 * sizeof(OBJECT_HANDLE_COUNT_ENTRY));
|
||||
}
|
||||
|
||||
/* Allocate the DB */
|
||||
|
||||
Reference in New Issue
Block a user