[Webkit-unassigned] [Bug 41129] CSSSelector: Avoid chaining tagHistory of CSSSelector, which causes stack overflow.

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Tue Jul 13 09:54:00 PDT 2010


https://bugs.webkit.org/show_bug.cgi?id=41129


Darin Adler <darin at apple.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |darin at apple.com




--- Comment #12 from Darin Adler <darin at apple.com>  2010-07-13 09:54:00 PST ---
The chain itself is OK. There's nothing wrong with a linked list.

What we need to fix this is to add an iterative algorithm for destroying the chain, not to eliminate it entirely. I think I did this already in one of my OwnPtr patches; can’t find it at the moment. We need code that to loops through the list releasing the next pointer before destroying the previous one.

-- 
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.


More information about the webkit-unassigned mailing list