[Webkit-unassigned] [Bug 194957] String overflow when using StringBuilder in JSC::createError

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Fri Feb 22 13:15:46 PST 2019


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

Mark Lam <mark.lam at apple.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
 Attachment #362751|1                           |0
        is obsolete|                            |

--- Comment #4 from Mark Lam <mark.lam at apple.com> ---
Comment on attachment 362751
  --> https://bugs.webkit.org/attachment.cgi?id=362751
Patch

View in context: https://bugs.webkit.org/attachment.cgi?id=362751&action=review

> Source/JavaScriptCore/runtime/ExceptionHelpers.cpp:213
> +        return makeString("object is not a function.");

Use makeString("object is not a function." _s) so that we'll create the string using an ASCIILiteral.

-- 
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/20190222/26785f21/attachment-0001.html>


More information about the webkit-unassigned mailing list