[Webkit-unassigned] [Bug 281412] New: Change the StringBuilder in stringReplaceAllStringString to RecordOverflow.

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Sun Oct 13 23:29:59 PDT 2024


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

            Bug ID: 281412
           Summary: Change the StringBuilder in
                    stringReplaceAllStringString to RecordOverflow.
           Product: WebKit
           Version: WebKit Nightly Build
          Hardware: Unspecified
                OS: Unspecified
            Status: NEW
          Keywords: InRadar
          Severity: Normal
          Priority: P2
         Component: JavaScriptCore
          Assignee: webkit-unassigned at lists.webkit.org
          Reporter: mark.lam at apple.com

The function was already checking for resultBuilder.hasOverflowed(), but without this RecordOverflow handler being explicitly specified, the StringBuilder will crash eagerly on detected overflow.

rdar://137230737

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20241014/2955383b/attachment.htm>


More information about the webkit-unassigned mailing list