WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED FIXED
Bug 41107
REGRESSION (
r61619
): Memory corruption in open-source ICO decoder
https://bugs.webkit.org/show_bug.cgi?id=41107
Summary
REGRESSION (r61619): Memory corruption in open-source ICO decoder
Peter Kasting
Reported
2010-06-23 15:16:08 PDT
REGRESSION (
r61619
): Memory corruption in open-source ICO decoder
Attachments
patch v1
(4.26 KB, patch)
2010-06-23 16:12 PDT
,
Peter Kasting
abarth
: review+
Details
Formatted Diff
Diff
View All
Add attachment
proposed patch, testcase, etc.
Peter Kasting
Comment 1
2010-06-23 15:19:18 PDT
BMPImageReader.cpp erroneously accesses |m_parent| when setSize() fails. setSize() has already called setFailed(), which has deleted |this|, thus we shouldn't access |m_parent| (and don't need to).
Peter Kasting
Comment 2
2010-06-23 16:12:16 PDT
Created
attachment 59572
[details]
patch v1 Fixes the corruption and one other technically-wrong place I noticed. This adds a regression .ico to an existing LayoutTest, unfortunately I can't actually update expected results at the moment, so I'm going to need those from somewhere.
Adam Barth
Comment 3
2010-06-24 14:33:53 PDT
Comment on
attachment 59572
[details]
patch v1 ok
Peter Kasting
Comment 4
2010-06-24 15:02:21 PDT
Fixed in
r61788
. I'll land the updated test expectations once the bots have them.
WebKit Review Bot
Comment 5
2010-06-24 17:26:29 PDT
http://trac.webkit.org/changeset/61800
might have broken SnowLeopard Intel Release (Tests)
Eric Seidel (no email)
Comment 6
2010-06-24 22:25:36 PDT
Gtk is still broken from this:
http://build.webkit.org/results/GTK%20Linux%2032-bit%20Debug/r61820%20(7197)/fast/images/icon-decoding-pretty-diff.html
Adam Barth
Comment 7
2010-06-24 22:26:43 PDT
Hopefully fixed in
http://trac.webkit.org/changeset/61821
Peter Kasting
Comment 8
2010-06-25 12:02:31 PDT
The reason I didn't update GTK is because it matches Chromium rather than Safari and it wasn't clear to me that those two text dumps would be the same. (And I couldn't get a Chromium dump at the time.) I'm not lazy! I was just gone. I got two other people to help take care of this before I had to go.
Note
You need to
log in
before you can comment on or make changes to this bug.
Top of Page
Format For Printing
XML
Clone This Bug