[Webkit-unassigned] [Bug 11336] HashTable.h not zeroing pointers in constructuor
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Wed Oct 18 12:08:45 PDT 2006
http://bugs.webkit.org/show_bug.cgi?id=11336
------- Comment #6 from mike.emmel at gmail.com 2006-10-18 12:08 PDT -------
Can you move the assert below the setting of the value then ?
So the pointer is not garbage when the assert triggers.
>From this
assert(table->m_iterators != it);
it->m_next = table->m_iterators;
To this
//set pointer so its not garbage
it->m_next = table->m_iterators;
//assert now if its incorrect.
assert(table->m_iterators != it);
Its not completely obvious the next pointer is garbage
if you trigger this in a debugger.
--
Configure bugmail: http://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
More information about the webkit-unassigned
mailing list