<?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>185645</bug_id>
          
          <creation_ts>2018-05-15 01:16:52 -0700</creation_ts>
          <short_desc>null pointer in JSC::jsSubstringOfResolved</short_desc>
          <delta_ts>2018-05-17 12:50:08 -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>Safari 10</version>
          <rep_platform>PC</rep_platform>
          <op_sys>iOS 11</op_sys>
          <bug_status>NEW</bug_status>
          <resolution></resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>P2</priority>
          <bug_severity>Trivial</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter>zhunkibatu</reporter>
          <assigned_to name="Nobody">webkit-unassigned</assigned_to>
          <cc>ap</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>1423958</commentid>
    <comment_count>0</comment_count>
      <attachid>340396</attachid>
    <who name="">zhunkibatu</who>
    <bug_when>2018-05-15 01:16:52 -0700</bug_when>
    <thetext>Created attachment 340396
poc.js

1   0x7f7beb34ef40 WTFCrash
2   0x7f7be93c88f9 JSC::jsSubstringOfResolved(JSC::VM&amp;, JSC::GCDeferralContext*, JSC::JSString*, unsigned int, unsigned int)
3   0x7f7be9398ee3 JSC::RegExpObject::execInline(JSC::ExecState*, JSC::JSGlobalObject*, JSC::JSString*)
4   0x7f7ba1cfe185
Illegal instruction</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1424869</commentid>
    <comment_count>1</comment_count>
    <who name="Alexey Proskuryakov">ap</who>
    <bug_when>2018-05-17 12:50:08 -0700</bug_when>
    <thetext>I cannot reproduce this. Could you please attach a crash log?

The version field says Safari 10. That version is old. Does this reproduce for you with Safari 11.1?</thetext>
  </long_desc>
      
          <attachment
              isobsolete="0"
              ispatch="0"
              isprivate="0"
          >
            <attachid>340396</attachid>
            <date>2018-05-15 01:16:52 -0700</date>
            <delta_ts>2018-05-15 01:16:52 -0700</delta_ts>
            <desc>poc.js</desc>
            <filename>poc.js</filename>
            <type>application/javascript</type>
            <size>59</size>
            <attacher>zhunkibatu</attacher>
            
              <data encoding="base64">ZnVuY3Rpb24gdGVzdCgpIHsKcmV0dXJuICLwoK63Ii5tYXRjaCgvXi4uL3UpOwp9Cgp0ZXN0KCk7
Cgo=
</data>

          </attachment>
      

    </bug>

</bugzilla>