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
276142
Add reference to Element in `resolveAnchorValue()` for safety
https://bugs.webkit.org/show_bug.cgi?id=276142
Summary
Add reference to Element in `resolveAnchorValue()` for safety
David Choi
Reported
2024-07-02 13:28:05 PDT
Add a Ref to a `const Element&` object that invokes a nontrivial method.
https://build.webkit.org/results/Apple-Sonoma-Smart-Pointer-Static-Analyzer-Build/280544@main%20(279)/scan-build-output/StaticAnalyzerUnexpectedRegressions/WebCore/StaticAnalyzerReports/report-AnchorPositionEvaluator.cpp-unknown-0-50d678.html#EndPath
Attachments
Add attachment
proposed patch, testcase, etc.
Radar WebKit Bug Importer
Comment 1
2024-07-02 13:28:30 PDT
<
rdar://problem/130992562
>
David Choi
Comment 2
2024-07-02 13:30:47 PDT
Pull request:
https://github.com/WebKit/WebKit/pull/30404
EWS
Comment 3
2024-07-02 20:12:45 PDT
Committed
280610@main
(2ce73fd81990): <
https://commits.webkit.org/280610@main
> Reviewed commits have been landed. Closing PR #30404 and removing active labels.
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