[Webkit-unassigned] [Bug 8870] Crash typing in Yahoo auto-complete widget.

bugzilla-daemon at opendarwin.org bugzilla-daemon at opendarwin.org
Sat May 13 06:20:28 PDT 2006


http://bugzilla.opendarwin.org/show_bug.cgi?id=8870


ap at nypop.com changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
         AssignedTo|webkit-                     |ap at nypop.com
                   |unassigned at opendarwin.org   |
             Status|NEW                         |ASSIGNED
   Attachment #8281|                            |review?
               Flag|                            |




------- Comment #2 from ap at nypop.com  2006-05-13 06:20 PDT -------
Created an attachment (id=8281)
 --> (http://bugzilla.opendarwin.org/attachment.cgi?id=8281&action=view)
proposed fix

This is a stack overflow, and it has nothing to do with how WebKit invokes PCRE
- it's also reproducible with pcretest, versions 6.1 (used in WebKit) and 6.6
(latest).

PCRE has a mode for systems with limited stack, where it no longer uses
recursion (at the cost of some performance, reportedly). There are also some
limits that can make deep recursion fail with an error, but I don't see how we
could use them, as long as we want to work with Yahoo widgets.

This patch just defines NO_RECURSE. There is no noticeable delay when opening
the test.


-- 
Configure bugmail: http://bugzilla.opendarwin.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
You are the assignee for the bug, or are watching the assignee.



More information about the webkit-unassigned mailing list