[Webkit-unassigned] [Bug 15123] Self-replicating code makes Safari hang and eventually crash

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Fri Jan 28 11:03:14 PST 2011


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





--- Comment #32 from chris reiss <christopher.reiss at nokia.com>  2011-01-28 11:03:14 PST ---
So if I understand you correctly, what's needed is this guard code : 

    RefPtr<Document> protect(this);
    {
       NestingLevelIncrementer nestingLevelIncrementer(m_writeRecursionDepth);

         m_writeRecursionIsTooDeep = (m_writeRecursionDepth > 1) && m_writeRecursionIsTooDeep;
         m_writeRecursionIsTooDeep = (m_writeRecursionDepth > cMaxWriteRecursionDepth) || m_writeRecursionIsTooDeep;

        if (m_writeRecursionIsTooDeep)
           return;
    }

and then essentially the same tests as for http://trac.webkit.org/changeset/65692

?

-- 
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