[webkit-reviews] review requested: [Bug 14578] [S60][3.1A][3.2] - Browser crashes in www.vertaa.fi : [Attachment 15488] delete all the ArgumentListNode's self elements in a loop to avoid recursion

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Thu Jul 12 11:44:02 PDT 2007


Joseph Ligman <joseph.ligman at nokia.com> has asked Yongjun Zhang
<yongjun.zhang at nokia.com> for review:
Bug 14578: [S60][3.1A][3.2] - Browser crashes in www.vertaa.fi
http://bugs.webkit.org/show_bug.cgi?id=14578

Attachment 15488: delete all the ArgumentListNode's self elements in a loop to
avoid recursion
http://bugs.webkit.org/attachment.cgi?id=15488&action=edit

------- Additional Comments from Joseph Ligman <joseph.ligman at nokia.com>
The ArgumentListNode contains a pointer to itself, which makes a chain of
elements. When the node is deleted it deletes itself which deletes itself
recursively. When this recursion becomes large enough the crash occurs. To
avoid this delete all the nodes in a loop and set them to null when the
destructor is called.



More information about the webkit-reviews mailing list