WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED FIXED
167036
Correct potential nullptr dereference in RenderLayer::updateLayerPosition()
https://bugs.webkit.org/show_bug.cgi?id=167036
Summary
Correct potential nullptr dereference in RenderLayer::updateLayerPosition()
Brent Fulgham
Reported
2017-01-13 17:00:58 PST
Crash logs indicate an infrequent crash in RenderLayer::updateLayerPosition(). Code inspection reveals that we might dereference a nullptr for elements with enclosing parents with a layer. The search for this parent might end without finding anything, resulting in the ancestor being set to nullptr. This patch adds the missing nullptr check to avoid this possibility.
Attachments
Patch
(1.51 KB, patch)
2017-01-13 17:04 PST
,
Brent Fulgham
no flags
Details
Formatted Diff
Diff
View All
Add attachment
proposed patch, testcase, etc.
Brent Fulgham
Comment 1
2017-01-13 17:01:18 PST
<
rdar://problem/30023019
>
Brent Fulgham
Comment 2
2017-01-13 17:04:16 PST
Created
attachment 298810
[details]
Patch
Dean Jackson
Comment 3
2017-01-13 18:45:27 PST
Comment on
attachment 298810
[details]
Patch Test case?
WebKit Commit Bot
Comment 4
2017-01-13 19:43:38 PST
Comment on
attachment 298810
[details]
Patch Clearing flags on attachment: 298810 Committed
r210760
: <
http://trac.webkit.org/changeset/210760
>
WebKit Commit Bot
Comment 5
2017-01-13 19:43:41 PST
All reviewed patches have been landed. Closing bug.
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