<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "https://bugs.webkit.org/page.cgi?id=bugzilla.dtd">

<bugzilla version="5.0.4.1"
          urlbase="https://bugs.webkit.org/"
          
          maintainer="admin@webkit.org"
>

    <bug>
          <bug_id>131137</bug_id>
          
          <creation_ts>2014-04-02 16:17:20 -0700</creation_ts>
          <short_desc>Crash when a function is constructed with the string &quot;})({&quot;</short_desc>
          <delta_ts>2022-07-15 17:35:09 -0700</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>WebKit</product>
          <component>JavaScriptCore</component>
          <version>528+ (Nightly build)</version>
          <rep_platform>Mac</rep_platform>
          <op_sys>OS X 10.9</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>CONFIGURATION CHANGED</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>P2</priority>
          <bug_severity>Normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter>webkit-bugs</reporter>
          <assigned_to name="Nobody">webkit-unassigned</assigned_to>
          <cc>ap</cc>
    
    <cc>erights</cc>
    
    <cc>ggaren</cc>
    
    <cc>oliver</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>996896</commentid>
    <comment_count>0</comment_count>
      <attachid>228440</attachid>
    <who name="">webkit-bugs</who>
    <bug_when>2014-04-02 16:17:20 -0700</bug_when>
    <thetext>Created attachment 228440
A simple page that will crash the Safari web process.

When using the Function constructor to create a function with the string &quot;})({&quot;, the invoking process will crash.  When using a string such as &quot;})str({&quot;, an error is thrown instead. Changing it to  &quot;});str({&quot; will again cause a crash.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1029212</commentid>
    <comment_count>1</comment_count>
    <who name="Mark S. Miller">erights</who>
    <bug_when>2014-08-14 14:18:34 -0700</bug_when>
    <thetext>Is this a duplicate of https://bugs.webkit.org/show_bug.cgi?id=106160 ?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1029226</commentid>
    <comment_count>2</comment_count>
    <who name="Mark S. Miller">erights</who>
    <bug_when>2014-08-14 14:49:30 -0700</bug_when>
    <thetext>See also https://groups.google.com/forum/#!topic/google-caja-discuss/KWRNYko_pQo</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1757966</commentid>
    <comment_count>3</comment_count>
    <who name="Mark S. Miller">erights</who>
    <bug_when>2021-05-07 12:49:57 -0700</bug_when>
    <thetext>This is apparently a dup of a closed bug, as explained in a previous message. Should this be closed?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1884482</commentid>
    <comment_count>4</comment_count>
    <who name="Alexey Proskuryakov">ap</who>
    <bug_when>2022-07-15 17:35:09 -0700</bug_when>
    <thetext>The test is gone, so one way or another, there is nothing to do.</thetext>
  </long_desc>
      
          <attachment
              isobsolete="0"
              ispatch="0"
              isprivate="0"
          >
            <attachid>228440</attachid>
            <date>2014-04-02 16:17:20 -0700</date>
            <delta_ts>2014-04-02 16:17:20 -0700</delta_ts>
            <desc>A simple page that will crash the Safari web process.</desc>
            <filename>url.txt</filename>
            <type>text/plain</type>
            <size>58</size>
            <attacher>webkit-bugs</attacher>
            
              <data encoding="base64">aHR0cHM6Ly9kbC5kcm9wYm94dXNlcmNvbnRlbnQuY29tL3UvMTE5NjcvY3Jhc2hTYWZhcmkuaHRt
bA==
</data>

          </attachment>
      

    </bug>

</bugzilla>