Bug 289684
| Summary: | Workaround a static analyzer false positive in ImageCapture::takePhoto | ||
|---|---|---|---|
| Product: | WebKit | Reporter: | Ryosuke Niwa <rniwa> |
| Component: | New Bugs | Assignee: | Ryosuke Niwa <rniwa> |
| Status: | RESOLVED FIXED | ||
| Severity: | Normal | CC: | webkit-bug-importer |
| Priority: | P2 | Keywords: | InRadar |
| Version: | Safari Technology Preview | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
Ryosuke Niwa
Static analyzer emits a warning for the result of Blob::create that value is uncounted and unsafe despite of the fact Blob::create returns Ref.
This is because Blog::create is UnresolvedLookupExpr due to the use of auto for "capture".
Explicitly specify the type so that the static analyzer can resolve this type information.
| Attachments | ||
|---|---|---|
| Add attachment proposed patch, testcase, etc. |
Ryosuke Niwa
Pull request: https://github.com/WebKit/WebKit/pull/42380
EWS
Committed 292094@main (b7d2eff20a21): <https://commits.webkit.org/292094@main>
Reviewed commits have been landed. Closing PR #42380 and removing active labels.
Radar WebKit Bug Importer
<rdar://problem/146959058>