<?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>48168</bug_id>
          
          <creation_ts>2010-10-22 18:12:19 -0700</creation_ts>
          <short_desc>WebP decoding hits ASSERT</short_desc>
          <delta_ts>2010-10-23 17:19:56 -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>528+ (Nightly build)</version>
          <rep_platform>Other</rep_platform>
          <op_sys>OS X 10.5</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="Adam Barth">abarth</reporter>
          <assigned_to name="Adam Barth">abarth</assigned_to>
          <cc>abarth</cc>
    
    <cc>commit-queue</cc>
    
    <cc>pascal.massimino</cc>
    
    <cc>pkasting</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>298290</commentid>
    <comment_count>0</comment_count>
    <who name="Adam Barth">abarth</who>
    <bug_when>2010-10-22 18:12:19 -0700</bug_when>
    <thetext>WebP decoding hits ASSERT</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>298292</commentid>
    <comment_count>1</comment_count>
      <attachid>71616</attachid>
    <who name="Adam Barth">abarth</who>
    <bug_when>2010-10-22 18:19:46 -0700</bug_when>
    <thetext>Created attachment 71616
Patch</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>298365</commentid>
    <comment_count>2</comment_count>
      <attachid>71616</attachid>
    <who name="Andreas Kling">kling</who>
    <bug_when>2010-10-23 03:38:00 -0700</bug_when>
    <thetext>Comment on attachment 71616
Patch

LGTM.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>298410</commentid>
    <comment_count>3</comment_count>
      <attachid>71616</attachid>
    <who name="Adam Barth">abarth</who>
    <bug_when>2010-10-23 09:34:13 -0700</bug_when>
    <thetext>Comment on attachment 71616
Patch

Thanks.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>298415</commentid>
    <comment_count>4</comment_count>
      <attachid>71616</attachid>
    <who name="WebKit Commit Bot">commit-queue</who>
    <bug_when>2010-10-23 09:48:14 -0700</bug_when>
    <thetext>Comment on attachment 71616
Patch

Clearing flags on attachment: 71616

Committed r70392: &lt;http://trac.webkit.org/changeset/70392&gt;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>298416</commentid>
    <comment_count>5</comment_count>
    <who name="WebKit Commit Bot">commit-queue</who>
    <bug_when>2010-10-23 09:48:19 -0700</bug_when>
    <thetext>All reviewed patches have been landed.  Closing bug.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>298442</commentid>
    <comment_count>6</comment_count>
    <who name="Pascal Massimino">pascal.massimino</who>
    <bug_when>2010-10-23 11:35:10 -0700</bug_when>
    <thetext>(In reply to comment #5)
&gt; All reviewed patches have been landed.  Closing bug.

thanks for fixing that Adam!
i&apos;m a little worried that rgb.resize() is zero&apos;ing the memory we are going to be
filling. Is it? If so, this is unneeded operation... But we can revisit that later.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>298495</commentid>
    <comment_count>7</comment_count>
    <who name="Adam Barth">abarth</who>
    <bug_when>2010-10-23 17:19:56 -0700</bug_when>
    <thetext>&gt; i&apos;m a little worried that rgb.resize() is zero&apos;ing the memory we are going to be
&gt; filling. Is it? If so, this is unneeded operation... But we can revisit that later.

We should look at the code an see.  There area a bunch of templates to unwind.  If it does, we can add a resizeUninitialized() function to vector.</thetext>
  </long_desc>
      
          <attachment
              isobsolete="0"
              ispatch="1"
              isprivate="0"
          >
            <attachid>71616</attachid>
            <date>2010-10-22 18:19:46 -0700</date>
            <delta_ts>2010-10-23 09:48:14 -0700</delta_ts>
            <desc>Patch</desc>
            <filename>bug-48168-20101022181945.patch</filename>
            <type>text/plain</type>
            <size>1617</size>
            <attacher name="Adam Barth">abarth</attacher>
            
              <data encoding="base64">SW5kZXg6IFdlYkNvcmUvQ2hhbmdlTG9nCj09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09
PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT0KLS0tIFdlYkNvcmUvQ2hhbmdlTG9n
CShyZXZpc2lvbiA3MDM3NykKKysrIFdlYkNvcmUvQ2hhbmdlTG9nCSh3b3JraW5nIGNvcHkpCkBA
IC0xLDMgKzEsMTkgQEAKKzIwMTAtMTAtMjIgIEFkYW0gQmFydGggIDxhYmFydGhAd2Via2l0Lm9y
Zz4KKworICAgICAgICBSZXZpZXdlZCBieSBOT0JPRFkgKE9PUFMhKS4KKworICAgICAgICBXZWJQ
IGRlY29kaW5nIGhpdHMgQVNTRVJUCisgICAgICAgIGh0dHBzOi8vYnVncy53ZWJraXQub3JnL3No
b3dfYnVnLmNnaT9pZD00ODE2OAorCisgICAgICAgIENhbGxpbmcgcmVzZXJ2ZUNhcGFjaXR5IG9u
bHkgYWxsb2NhdGVzIHRoZSBtZW1vcnkuICBJdCBkb2Vzbid0IGFjdHVhbGx5CisgICAgICAgIHNl
dCB0aGUgbGVuZ3RoLiAgV2hlbiB5b3UgdHJ5IHRvIGFjY2VzcyB0aGUgemVyb3RoIGVsZW1lbnQs
IHlvdSBoaXQgYW4KKyAgICAgICAgQVNTRVJULgorCisgICAgICAgIENvdmVyZWQgYnkgZmFzdC9p
bWFnZXMvd2VicC1pbWFnZS1kZWNvZGluZy5odG1sIGluIGRlYnVnLgorCisgICAgICAgICogcGxh
dGZvcm0vaW1hZ2UtZGVjb2RlcnMvd2VicC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XRlcywgZGF0YVNpemUsIHJnYi5k
YXRhKCksIHJnYi5zaXplKCksIHN0cmlkZSkpCiAgICAgICAgIHJldHVybiBzZXRGYWlsZWQoKTsK
ICAgICAvLyBGSVhNRTogcmVtb3ZlIHRoaXMgZGF0YSBjb3B5LgogICAgIGZvciAoaW50IHkgPSAw
OyB5IDwgaGVpZ2h0OyArK3kpIHsK
</data>

          </attachment>
      

    </bug>

</bugzilla>