<?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>167787</bug_id>
          
          <creation_ts>2017-02-03 02:50:19 -0800</creation_ts>
          <short_desc>WebContent crash when pasting into input fields at com.apple.WebCore: WebCore::ResourceRequestBase::url const + 9</short_desc>
          <delta_ts>2017-02-03 03:14:10 -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>CSS</component>
          <version>WebKit 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="Antti Koivisto">koivisto</reporter>
          <assigned_to name="Nobody">webkit-unassigned</assigned_to>
          <cc>commit-queue</cc>
    
    <cc>dino</cc>
    
    <cc>dstockwell</cc>
    
    <cc>simon.fraser</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>1272854</commentid>
    <comment_count>0</comment_count>
    <who name="Antti Koivisto">koivisto</who>
    <bug_when>2017-02-03 02:50:19 -0800</bug_when>
    <thetext>Exception Type:  EXC_BAD_ACCESS (SIGSEGV)
Exception Subtype: KERN_INVALID_ADDRESS at 0x00000000000000ed

Thread 0 name:  Dispatch queue: com.apple.main-thread
Thread 0 Crashed ↩:
0   WebCore                       	0x000000018dba2aa4 WebCore::ResourceRequestBase::url() const + 16 (ResourceRequestBase.cpp:609)
1   WebCore                       	0x000000018de795e0 WebCore::CSSImageValue::CSSImageValue(WebCore::CachedImage&amp;) + 60 (CachedResource.h:116)
2   WebCore                       	0x000000018de795e0 WebCore::CSSImageValue::CSSImageValue(WebCore::CachedImage&amp;) + 60 (CachedResource.h:116)
3   WebCore                       	0x000000018de96f04 WebCore::blendFunc(WebCore::AnimationBase const*, WebCore::StyleImage*, WebCore::StyleImage*, double) + 908 (CSSImageValue.h:38)
4   WebCore                       	0x000000018de96b14 WebCore::FillLayerRefCountedPropertyWrapper&lt;WebCore::StyleImage&gt;::blend(WebCore::AnimationBase const*, WebCore::FillLayer*, WebCore::FillLayer const*, WebCore::FillLayer const*, double) const + 140 (CSSPropertyAnimation.cpp:1022)
5   WebCore                       	0x000000018de966e4 WebCore::FillLayersPropertyWrapper::blend(WebCore::AnimationBase const*, WebCore::RenderStyle*, WebCore::RenderStyle const*, WebCore::RenderStyle const*, double) const + 176 (CSSPropertyAnimation.cpp:1111)
6   WebCore                       	0x000000018dcbd948 WebCore::CSSPropertyAnimation::blendProperties(WebCore::AnimationBase const*, WebCore::CSSPropertyID, WebCore::RenderStyle*, WebCore::RenderStyle const*, WebCore::RenderStyle const*, double) + 188 (CSSPropertyAnimation.cpp:1579)
7   WebCore                       	0x000000018e1b21f4 WebCore::ImplicitAnimation::animate(WebCore::CompositeAnimation*, WebCore::RenderElement*, WebCore::RenderStyle const*, WebCore::RenderStyle const*, std::__1::unique_ptr&lt;WebCore::RenderStyle, std::__1::default_delete&lt;WebCore::RenderStyle&gt; &gt;&amp;, bool&amp;) + 216 (ImplicitAnimation.cpp:82)
8   WebCore                       	0x000000018ddd9f24 WebCore::CompositeAnimation::animate(WebCore::RenderElement&amp;, WebCore::RenderStyle const*, WebCore::RenderStyle const&amp;, std::__1::unique_ptr&lt;WebCore::RenderStyle, std::__1::default_delete&lt;WebCore::RenderStyle&gt; &gt;&amp;) + 228 (CompositeAnimation.cpp:303)
9   WebCore                       	0x000000018dd134c8 WebCore::AnimationController::updateAnimations(WebCore::RenderElement&amp;, WebCore::RenderStyle const&amp;, std::__1::unique_ptr&lt;WebCore::RenderStyle, std::__1::default_delete&lt;WebCore::RenderStyle&gt; &gt;&amp;) + 196 (AnimationController.cpp:618)
10  WebCore                       	0x000000018ea586a4 WebCore::Style::TreeResolver::createAnimatedElementUpdate(std::__1::unique_ptr&lt;WebCore::RenderStyle, std::__1::default_delete&lt;WebCore::RenderStyle&gt; &gt;, WebCore::Element&amp;, WebCore::Style::Change) + 132 (StyleTreeResolver.cpp:273)
11  WebCore                       	0x000000018ea58400 WebCore::Style::TreeResolver::resolveElement(WebCore::Element&amp;) + 232 (StyleTreeResolver.cpp:203)
12  WebCore                       	0x000000018ea5910c WebCore::Style::TreeResolver::resolveComposedTree() + 1300 (StyleTreeResolver.cpp:423)
13  WebCore                       	0x000000018ea5970c WebCore::Style::TreeResolver::resolve(WebCore::Style::Change) + 520 (StyleTreeResolver.cpp:479)
14  WebCore                       	0x000000018df23130 WebCore::Document::recalcStyle(WebCore::Style::Change) + 484 (Document.cpp:1826)</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1272855</commentid>
    <comment_count>1</comment_count>
    <who name="Antti Koivisto">koivisto</who>
    <bug_when>2017-02-03 02:50:51 -0800</bug_when>
    <thetext>rdar://problem/29168795</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1272856</commentid>
    <comment_count>2</comment_count>
      <attachid>300515</attachid>
    <who name="Antti Koivisto">koivisto</who>
    <bug_when>2017-02-03 02:54:21 -0800</bug_when>
    <thetext>Created attachment 300515
patch</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1272859</commentid>
    <comment_count>3</comment_count>
    <who name="Antti Koivisto">koivisto</who>
    <bug_when>2017-02-03 03:14:10 -0800</bug_when>
    <thetext>Committed r211625: &lt;http://trac.webkit.org/changeset/211625&gt;</thetext>
  </long_desc>
      
          <attachment
              isobsolete="0"
              ispatch="1"
              isprivate="0"
          >
            <attachid>300515</attachid>
            <date>2017-02-03 02:54:21 -0800</date>
            <delta_ts>2017-02-03 03:12:56 -0800</delta_ts>
            <desc>patch</desc>
            <filename>blend-image-nullptr.patch</filename>
            <type>text/plain</type>
            <size>1436</size>
            <attacher name="Antti Koivisto">koivisto</attacher>
            
              <data encoding="base64">SW5kZXg6IFNvdXJjZS9XZWJDb3JlL0NoYW5nZUxvZwo9PT09PT09PT09PT09PT09PT09PT09PT09
PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09Ci0tLSBTb3VyY2UvV2Vi
Q29yZS9DaGFuZ2VMb2cJKHJldmlzaW9uIDIxMTYyNCkKKysrIFNvdXJjZS9XZWJDb3JlL0NoYW5n
ZUxvZwkod29ya2luZyBjb3B5KQpAQCAtMSwzICsxLDE1IEBACisyMDE3LTAyLTAzICBBbnR0aSBL
b2l2aXN0byAgPGFudHRpQGFwcGxlLmNvbT4KKworICAgICAgICBXZWJDb250ZW50IGNyYXNoIHdo
ZW4gcGFzdGluZyBpbnRvIGlucHV0IGZpZWxkcyBhdCBjb20uYXBwbGUuV2ViQ29yZTogV2ViQ29y
ZTo6UmVzb3VyY2VSZXF1ZXN0QmFzZTo6dXJsIGNvbnN0ICsgOQorICAgICAgICBodHRwczovL2J1
Z3Mud2Via2l0Lm9yZy9zaG93X2J1Zy5jZ2k/aWQ9MTY3Nzg3CisKKyAgICAgICAgUmV2aWV3ZWQg
YnkgTk9CT0RZIChPT1BTISkuCisKKyAgICAgICAgTm8gdGVzdCwgZG9uJ3Qga25vdyBob3cgdG8g
Z2V0IGhlcmUuCisKKyAgICAgICAgKiBwYWdlL2FuaW1hdGlvbi9DU1NQcm9wZXJ0eUFuaW1hdGlv
bi5jcHA6CisgICAgICAgIChXZWJDb3JlOjpjcm9zc2ZhZGVCbGVuZCk6IE51bGwgY2hlY2suCisK
IDIwMTctMDItMDMgIEFsYmVydG8gR2FyY2lhICA8YmVydG9AaWdhbGlhLmNvbT4KIAogICAgICAg
ICBKU0RPTVdpbmRvd0Jhc2UuY3BwIGRvZXNuJ3QgYnVpbGQgaWYgdGhlIEpJVCBpcyBkaXNhYmxl
ZApJbmRleDogU291cmNlL1dlYkNvcmUvcGFnZS9hbmltYXRpb24vQ1NTUHJvcGVydHlBbmltYXRp
b24uY3BwCj09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09
PT09PT09PT09PT09PT09PT0KLS0tIFNvdXJjZS9XZWJDb3JlL3BhZ2UvYW5pbWF0aW9uL0NTU1By
b3BlcnR5QW5pbWF0aW9uLmNwcAkocmV2aXNpb24gMjExNTYzKQorKysgU291cmNlL1dlYkNvcmUv
cGFnZS9hbmltYXRpb24vQ1NTUHJvcGVydHlBbmltYXRpb24uY3BwCSh3b3JraW5nIGNvcHkpCkBA
IC0yODYsNiArMjg2LDggQEAgc3RhdGljIGlubGluZSBSZWZQdHI8U3R5bGVJbWFnZT4gY3Jvc3Nm
YQogICAgICAgICByZXR1cm4gZnJvbVN0eWxlSW1hZ2U7CiAgICAgaWYgKHByb2dyZXNzID09IDEp
CiAgICAgICAgIHJldHVybiB0b1N0eWxlSW1hZ2U7CisgICAgaWYgKCFmcm9tU3R5bGVJbWFnZS0+
Y2FjaGVkSW1hZ2UoKSB8fCAhdG9TdHlsZUltYWdlLT5jYWNoZWRJbWFnZSgpKQorICAgICAgICBy
ZXR1cm4gdG9TdHlsZUltYWdlOwogCiAgICAgYXV0byBmcm9tSW1hZ2VWYWx1ZSA9IENTU0ltYWdl
VmFsdWU6OmNyZWF0ZSgqZnJvbVN0eWxlSW1hZ2UtPmNhY2hlZEltYWdlKCkpOwogICAgIGF1dG8g
dG9JbWFnZVZhbHVlID0gQ1NTSW1hZ2VWYWx1ZTo6Y3JlYXRlKCp0b1N0eWxlSW1hZ2UtPmNhY2hl
ZEltYWdlKCkpOwo=
</data>
<flag name="review"
          id="322387"
          type_id="1"
          status="+"
          setter="kling"
    />
          </attachment>
      

    </bug>

</bugzilla>