<?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>141352</bug_id>
          
          <creation_ts>2015-02-06 23:25:43 -0800</creation_ts>
          <short_desc>ASan complains about plugins/snapshotting/snapshot-plugin-not-quite-blocked-by-image.html</short_desc>
          <delta_ts>2015-02-07 12:56:02 -0800</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>WebKit</product>
          <component>WebCore Misc.</component>
          <version>528+ (Nightly build)</version>
          <rep_platform>Unspecified</rep_platform>
          <op_sys>Unspecified</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords>InRadar</keywords>
          <priority>P2</priority>
          <bug_severity>Normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Alexey Proskuryakov">ap</reporter>
          <assigned_to name="Alexey Proskuryakov">ap</assigned_to>
          <cc>benjamin</cc>
    
    <cc>bfulgham</cc>
    
    <cc>commit-queue</cc>
    
    <cc>esprehn+autocc</cc>
    
    <cc>kangil.han</cc>
    
    <cc>roger_fong</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>1067502</commentid>
    <comment_count>0</comment_count>
    <who name="Alexey Proskuryakov">ap</who>
    <bug_when>2015-02-06 23:25:43 -0800</bug_when>
    <thetext>ASan complains about an out of bounds read on plugins/snapshotting/snapshot-plugin-not-quite-blocked-by-image.html

rdar://problem/19717490</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1067503</commentid>
    <comment_count>1</comment_count>
      <attachid>246200</attachid>
    <who name="Alexey Proskuryakov">ap</who>
    <bug_when>2015-02-06 23:31:57 -0800</bug_when>
    <thetext>Created attachment 246200
proposed fix</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1067546</commentid>
    <comment_count>2</comment_count>
    <who name="Alexey Proskuryakov">ap</who>
    <bug_when>2015-02-07 11:36:50 -0800</bug_when>
    <thetext>I&apos;m going to assume that the Windows EWS failure is a random flake. The actual error is not visible in the truncated log.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1067553</commentid>
    <comment_count>3</comment_count>
      <attachid>246200</attachid>
    <who name="WebKit Commit Bot">commit-queue</who>
    <bug_when>2015-02-07 12:21:29 -0800</bug_when>
    <thetext>Comment on attachment 246200
proposed fix

Clearing flags on attachment: 246200

Committed r179783: &lt;http://trac.webkit.org/changeset/179783&gt;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1067554</commentid>
    <comment_count>4</comment_count>
    <who name="WebKit Commit Bot">commit-queue</who>
    <bug_when>2015-02-07 12:21:36 -0800</bug_when>
    <thetext>All reviewed patches have been landed.  Closing bug.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1067555</commentid>
    <comment_count>5</comment_count>
      <attachid>246200</attachid>
    <who name="Darin Adler">darin</who>
    <bug_when>2015-02-07 12:55:46 -0800</bug_when>
    <thetext>Comment on attachment 246200
proposed fix

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

&gt; Source/WebCore/dom/Document.cpp:6274
&gt; +        jsString = String(plugInsJavaScript, sizeof(plugInsJavaScript));

It would be more efficient to call StringImpl::createWithoutCopying here instead of the String constructor. No need to copy the file.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1067556</commentid>
    <comment_count>6</comment_count>
      <attachid>246200</attachid>
    <who name="Darin Adler">darin</who>
    <bug_when>2015-02-07 12:56:02 -0800</bug_when>
    <thetext>Comment on attachment 246200
proposed fix

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

&gt;&gt; Source/WebCore/dom/Document.cpp:6274
&gt;&gt; +        jsString = String(plugInsJavaScript, sizeof(plugInsJavaScript));
&gt; 
&gt; It would be more efficient to call StringImpl::createWithoutCopying here instead of the String constructor. No need to copy the file.

Copy the characters, I mean.</thetext>
  </long_desc>
      
          <attachment
              isobsolete="0"
              ispatch="1"
              isprivate="0"
          >
            <attachid>246200</attachid>
            <date>2015-02-06 23:31:57 -0800</date>
            <delta_ts>2015-02-07 12:21:29 -0800</delta_ts>
            <desc>proposed fix</desc>
            <filename>PluginsResourcesData.txt</filename>
            <type>text/plain</type>
            <size>1410</size>
            <attacher name="Alexey Proskuryakov">ap</attacher>
            
              <data encoding="base64">SW5kZXg6IFNvdXJjZS9XZWJDb3JlL0NoYW5nZUxvZwo9PT09PT09PT09PT09PT09PT09PT09PT09
PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09Ci0tLSBTb3VyY2UvV2Vi
Q29yZS9DaGFuZ2VMb2cJKHJldmlzaW9uIDE3OTc3NikKKysrIFNvdXJjZS9XZWJDb3JlL0NoYW5n
ZUxvZwkod29ya2luZyBjb3B5KQpAQCAtMSwzICsxLDE0IEBACisyMDE1LTAyLTA2ICBBbGV4ZXkg
UHJvc2t1cnlha292ICA8YXBAYXBwbGUuY29tPgorCisgICAgICAgIEFTYW4gY29tcGxhaW5zIGFi
b3V0IHBsdWdpbnMvc25hcHNob3R0aW5nL3NuYXBzaG90LXBsdWdpbi1ub3QtcXVpdGUtYmxvY2tl
ZC1ieS1pbWFnZS5odG1sCisgICAgICAgIGh0dHBzOi8vYnVncy53ZWJraXQub3JnL3Nob3dfYnVn
LmNnaT9pZD0xNDEzNTIKKyAgICAgICAgcmRhcjovL3Byb2JsZW0vMTk3MTc0OTAKKworICAgICAg
ICBSZXZpZXdlZCBieSBOT0JPRFkgKE9PUFMhKS4KKworICAgICAgICAqIGRvbS9Eb2N1bWVudC5j
cHA6IChXZWJDb3JlOjpEb2N1bWVudDo6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ZhbHVhdGVJbldv
cmxkKFNjcmlwdFNvdXJjZUNvZGUoanNTdHJpbmcpLCB3b3JsZCk7CiAK
</data>

          </attachment>
      

    </bug>

</bugzilla>