<?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>43593</bug_id>
          
          <creation_ts>2010-08-05 17:01:24 -0700</creation_ts>
          <short_desc>WebView::backingStore should check if m_backingStoreBitmap is NULL</short_desc>
          <delta_ts>2010-08-05 19:19:43 -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>WebKit Misc.</component>
          <version>528+ (Nightly build)</version>
          <rep_platform>PC</rep_platform>
          <op_sys>Windows 7</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</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 name="Jessie Berlin">jberlin</reporter>
          <assigned_to name="Jessie Berlin">jberlin</assigned_to>
          <cc>jberlin</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>260959</commentid>
    <comment_count>0</comment_count>
    <who name="Jessie Berlin">jberlin</who>
    <bug_when>2010-08-05 17:01:24 -0700</bug_when>
    <thetext>There are cases when WebView::backingStore is called while m_backingStoreBitmap is NULL, such as after deleteBackingStore has been called in response to a WM_NCACTIVATE message (indicating a change in the the active/inactive state).

Instead of attempting to dereference a null pointer, we should return early with E_FAIL if m_backingStoreBitmap is NULL.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>261028</commentid>
    <comment_count>1</comment_count>
      <attachid>63677</attachid>
    <who name="Jessie Berlin">jberlin</who>
    <bug_when>2010-08-05 18:49:12 -0700</bug_when>
    <thetext>Created attachment 63677
Add a null check to WebView::backingStore</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>261031</commentid>
    <comment_count>2</comment_count>
      <attachid>63677</attachid>
    <who name="Jon Honeycutt">jhoneycutt</who>
    <bug_when>2010-08-05 19:05:05 -0700</bug_when>
    <thetext>Comment on attachment 63677
Add a null check to WebView::backingStore

r=me</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>261037</commentid>
    <comment_count>3</comment_count>
      <attachid>63677</attachid>
    <who name="Jessie Berlin">jberlin</who>
    <bug_when>2010-08-05 19:19:33 -0700</bug_when>
    <thetext>Comment on attachment 63677
Add a null check to WebView::backingStore

Committed in r64811
http://trac.webkit.org/changeset/64811</thetext>
  </long_desc>
      
          <attachment
              isobsolete="0"
              ispatch="1"
              isprivate="0"
          >
            <attachid>63677</attachid>
            <date>2010-08-05 18:49:12 -0700</date>
            <delta_ts>2010-08-05 19:19:33 -0700</delta_ts>
            <desc>Add a null check to WebView::backingStore</desc>
            <filename>addNullCheckToWebViewBackingStore.patch</filename>
            <type>text/plain</type>
            <size>1094</size>
            <attacher name="Jessie Berlin">jberlin</attacher>
            
              <data encoding="base64">SW5kZXg6IFdlYktpdC93aW4vQ2hhbmdlTG9nCj09PT09PT09PT09PT09PT09PT09PT09PT09PT09
PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT0KLS0tIFdlYktpdC93aW4vQ2hh
bmdlTG9nCShyZXZpc2lvbiA2NDgwOSkKKysrIFdlYktpdC93aW4vQ2hhbmdlTG9nCSh3b3JraW5n
IGNvcHkpCkBAIC0xLDMgKzEsMTQgQEAKKzIwMTAtMDgtMDUgIEplc3NpZSBCZXJsaW4gIDxqYmVy
bGluQGFwcGxlLmNvbT4KKworICAgICAgICBSZXZpZXdlZCBieSBOT0JPRFkgKE9PUFMhKS4KKwor
ICAgICAgICBCdWcgNDM1OTMgLSBXZWJWaWV3OjpiYWNraW5nU3RvcmUgc2hvdWxkIGNoZWNrIGlm
IG1fYmFja2luZ1N0b3JlQml0bWFwIGlzIE5VTEwuCisgICAgICAgIGh0dHBzOi8vYnVncy53ZWJr
aXQub3JnL3Nob3dfYnVnLmNnaT9pZD00MzU5MworCisgICAgICAgICogV2ViVmlldy5jcHA6Cisg
ICAgICAgIChXZWJWaWV3OjpiYWNraW5nU3RvcmUpOgorICAgICAgICBJZiBtX2JhY2tpbmdTdG9y
ZUJpdG1hcCBpcyBOVUxMLCByZXR1cm4gRV9GQUlMLgorCiAyMDEwLTA4LTA1ICBHYXZpbiBCYXJy
YWNsb3VnaCAgPGJhcnJhY2xvdWdoQGFwcGxlLmNvbT4KIAogICAgICAgICBSdWJiZXIgc3RhbXBl
ZCBieSBTYW0gV2VpbmlnCkluZGV4OiBXZWJLaXQvd2luL1dlYlZpZXcuY3BwCj09PT09PT09PT09
PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT0K
LS0tIFdlYktpdC93aW4vV2ViVmlldy5jcHAJKHJldmlzaW9uIDY0NzQ2KQorKysgV2ViS2l0L3dp
bi9XZWJWaWV3LmNwcAkod29ya2luZyBjb3B5KQpAQCAtNTcyNSw2ICs1NzI1LDggQEAgSFJFU1VM
VCBTVERNRVRIT0RDQUxMVFlQRSBXZWJWaWV3OjpiYWNraQogewogICAgIGlmICghaEJpdG1hcCkK
ICAgICAgICAgcmV0dXJuIEVfUE9JTlRFUjsKKyAgICBpZiAoIW1fYmFja2luZ1N0b3JlQml0bWFw
KQorICAgICAgICByZXR1cm4gRV9GQUlMOwogICAgICpoQml0bWFwID0gcmVpbnRlcnByZXRfY2Fz
dDxPTEVfSEFORExFPihtX2JhY2tpbmdTdG9yZUJpdG1hcC0+aGFuZGxlKCkpOwogICAgIHJldHVy
biBTX09LOwogfQo=
</data>

          </attachment>
      

    </bug>

</bugzilla>