<?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>213305</bug_id>
          
          <creation_ts>2020-06-17 10:33:47 -0700</creation_ts>
          <short_desc>Null check plugin.m_data before using it in PDFPlugin::ByteRangeRequest::completeUnconditionally</short_desc>
          <delta_ts>2020-06-17 11:17:19 -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>New Bugs</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="Alex Christensen">achristensen</reporter>
          <assigned_to name="Alex Christensen">achristensen</assigned_to>
          <cc>beidson</cc>
    
    <cc>webkit-bug-importer</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>1663578</commentid>
    <comment_count>0</comment_count>
    <who name="Alex Christensen">achristensen</who>
    <bug_when>2020-06-17 10:33:47 -0700</bug_when>
    <thetext>Null check plugin.m_data before using it in PDFPlugin::ByteRangeRequest::completeUnconditionally</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1663579</commentid>
    <comment_count>1</comment_count>
      <attachid>402130</attachid>
    <who name="Alex Christensen">achristensen</who>
    <bug_when>2020-06-17 10:34:44 -0700</bug_when>
    <thetext>Created attachment 402130
Patch</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1663583</commentid>
    <comment_count>2</comment_count>
      <attachid>402130</attachid>
    <who name="Alexey Proskuryakov">ap</who>
    <bug_when>2020-06-17 10:43:43 -0700</bug_when>
    <thetext>Comment on attachment 402130
Patch

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

&gt; Source/WebKit/ChangeLog:7
&gt; +        Reviewed by NOBODY (OOPS!).

No test?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1663585</commentid>
    <comment_count>3</comment_count>
      <attachid>402130</attachid>
    <who name="Alex Christensen">achristensen</who>
    <bug_when>2020-06-17 10:47:05 -0700</bug_when>
    <thetext>Comment on attachment 402130
Patch

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

&gt;&gt; Source/WebKit/ChangeLog:7
&gt;&gt; +        Reviewed by NOBODY (OOPS!).
&gt; 
&gt; No test?

No test.  I believe our crash logs justify this change, and Brady&apos;s comment in radar convinces me that this is an edge case happening during teardown.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1663595</commentid>
    <comment_count>4</comment_count>
      <attachid>402130</attachid>
    <who name="Brady Eidson">beidson</who>
    <bug_when>2020-06-17 11:02:18 -0700</bug_when>
    <thetext>Comment on attachment 402130
Patch

No test in deed - one of those cases where it&apos;s obvious what&apos;s happening but not feasible to get it happening reliably for testing.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1663603</commentid>
    <comment_count>5</comment_count>
    <who name="EWS">ews-feeder</who>
    <bug_when>2020-06-17 11:16:25 -0700</bug_when>
    <thetext>Committed r263169: &lt;https://trac.webkit.org/changeset/263169&gt;

All reviewed patches have been landed. Closing bug and clearing flags on attachment 402130.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1663604</commentid>
    <comment_count>6</comment_count>
    <who name="Radar WebKit Bug Importer">webkit-bug-importer</who>
    <bug_when>2020-06-17 11:17:19 -0700</bug_when>
    <thetext>&lt;rdar://problem/64455684&gt;</thetext>
  </long_desc>
      
          <attachment
              isobsolete="0"
              ispatch="1"
              isprivate="0"
          >
            <attachid>402130</attachid>
            <date>2020-06-17 10:34:44 -0700</date>
            <delta_ts>2020-06-17 11:16:25 -0700</delta_ts>
            <desc>Patch</desc>
            <filename>bug-213305-20200617103444.patch</filename>
            <type>text/plain</type>
            <size>1570</size>
            <attacher name="Alex Christensen">achristensen</attacher>
            
              <data encoding="base64">SW5kZXg6IFNvdXJjZS9XZWJLaXQvQ2hhbmdlTG9nCj09PT09PT09PT09PT09PT09PT09PT09PT09
PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT0KLS0tIFNvdXJjZS9XZWJL
aXQvQ2hhbmdlTG9nCShyZXZpc2lvbiAyNjMxNjUpCisrKyBTb3VyY2UvV2ViS2l0L0NoYW5nZUxv
Zwkod29ya2luZyBjb3B5KQpAQCAtMSwzICsxLDE0IEBACisyMDIwLTA2LTE3ICBBbGV4IENocmlz
dGVuc2VuICA8YWNocmlzdGVuc2VuQHdlYmtpdC5vcmc+CisKKyAgICAgICAgTnVsbCBjaGVjayBw
bHVnaW4ubV9kYXRhIGJlZm9yZSB1c2luZyBpdCBpbiBQREZQbHVnaW46OkJ5dGVSYW5nZVJlcXVl
c3Q6OmNvbXBsZXRlVW5jb25kaXRpb25hbGx5CisgICAgICAgIGh0dHBzOi8vYnVncy53ZWJraXQu
b3JnL3Nob3dfYnVnLmNnaT9pZD0yMTMzMDUKKyAgICAgICAgPHJkYXI6Ly9wcm9ibGVtLzYwMzQ5
Mjc5PgorCisgICAgICAgIFJldmlld2VkIGJ5IE5PQk9EWSAoT09QUyEpLgorCisgICAgICAgICog
V2ViUHJvY2Vzcy9QbHVnaW5zL1BERi9QREZQbHVnaW4ubW06CisgICAgICAgIChXZWJLaXQ6OlBE
RlBsdWdpbjo6Qnl0ZVJhbmdlUmVxdWVzdDo6Y29tcGxldGVVbmNvbmRpdGlvbmFsbHkpOgorCiAy
MDIwLTA2LTE3ICBEYXJyeWwgUG9nd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l0aW9uIDogbV9jb3VudDsKICAgICBj
b21wbGV0ZVdpdGhCeXRlcyhDRkRhdGFHZXRCeXRlUHRyKHBsdWdpbi5tX2RhdGEuZ2V0KCkpICsg
bV9wb3NpdGlvbiwgY291bnQsIHBsdWdpbik7CiB9Cg==
</data>

          </attachment>
      

    </bug>

</bugzilla>