WebKit Bugzilla
New
Browse
Search+
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED FIXED
284787
Fix clang static analyzer warning in RemoteLayerTreeEventDispatcher::drawingAreaMac
https://bugs.webkit.org/show_bug.cgi?id=284787
Summary
Fix clang static analyzer warning in RemoteLayerTreeEventDispatcher::drawingA...
Ryosuke Niwa
Reported
2024-12-16 16:22:08 PST
RemoteLayerTreeEventDispatcher::drawingAreaMac() should use downcast, which contains release assert instead of using dynamicDowncast and unconditionally dereferencing it in release builds.
Attachments
Add attachment
proposed patch, testcase, etc.
Ryosuke Niwa
Comment 1
2024-12-16 16:25:43 PST
Pull request:
https://github.com/WebKit/WebKit/pull/38043
EWS
Comment 2
2024-12-17 10:37:45 PST
Committed
287953@main
(cda4b5fd08c5): <
https://commits.webkit.org/287953@main
> Reviewed commits have been landed. Closing PR #38043 and removing active labels.
Radar WebKit Bug Importer
Comment 3
2024-12-17 10:40:15 PST
<
rdar://problem/141627256
>
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