Bug 276142
| Summary: | Add reference to Element in `resolveAnchorValue()` for safety | ||
|---|---|---|---|
| Product: | WebKit | Reporter: | David Choi <david_choi5> |
| Component: | CSS | Assignee: | David Choi <david_choi5> |
| Status: | RESOLVED FIXED | ||
| Severity: | Normal | CC: | koivisto, webkit-bug-importer |
| Priority: | P2 | Keywords: | InRadar |
| Version: | WebKit Nightly Build | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
David Choi
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
<rdar://problem/130992562>
David Choi
Pull request: https://github.com/WebKit/WebKit/pull/30404
EWS
Committed 280610@main (2ce73fd81990): <https://commits.webkit.org/280610@main>
Reviewed commits have been landed. Closing PR #30404 and removing active labels.