WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED FIXED
201572
[FTW] Minor cleanups to avoid crashes during web browsing
https://bugs.webkit.org/show_bug.cgi?id=201572
Summary
[FTW] Minor cleanups to avoid crashes during web browsing
Brent Fulgham
Reported
2019-09-06 20:17:36 PDT
This patch addresses two crashes seen when doing general web browsing on Amazon.com and Apple.com using the FTW build of WebKit: 1. ImageBuffer::sinkIntoImage was attempting to use a render target after WTFMoving it elsewhere. 2. ImageBuffer::copyNativeImage was not properly checking the type of the render target to make sure it was suitable for Bitmap operations. 3. BackingStoreBackendDirect2DImpl::scroll would crash if the scroll offset was outside the bounds of the current view. In that case, it would attempt to allocate a texture of zero size, which triggered a crash.
Attachments
Patch
(4.06 KB, patch)
2019-09-06 20:22 PDT
,
Brent Fulgham
no flags
Details
Formatted Diff
Diff
View All
Add attachment
proposed patch, testcase, etc.
Brent Fulgham
Comment 1
2019-09-06 20:22:59 PDT
Created
attachment 378268
[details]
Patch
Brent Fulgham
Comment 2
2019-09-06 22:17:30 PDT
Thank you for the review, ap!
WebKit Commit Bot
Comment 3
2019-09-06 22:59:45 PDT
Comment on
attachment 378268
[details]
Patch Clearing flags on attachment: 378268 Committed
r249609
: <
https://trac.webkit.org/changeset/249609
>
WebKit Commit Bot
Comment 4
2019-09-06 22:59:46 PDT
All reviewed patches have been landed. Closing bug.
Radar WebKit Bug Importer
Comment 5
2019-09-06 23:01:04 PDT
<
rdar://problem/55140532
>
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