Bug 298842
| Summary: | [JSC] Assert that values are not empty in call and callWithArguments arguments | ||
|---|---|---|---|
| Product: | WebKit | Reporter: | Sosuke Suzuki <sosuke> |
| Component: | JavaScriptCore | Assignee: | Nobody <webkit-unassigned> |
| Status: | RESOLVED FIXED | ||
| Severity: | Normal | CC: | webkit-bug-importer |
| Priority: | P2 | Keywords: | InRadar |
| Version: | WebKit Nightly Build | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
Sosuke Suzuki
Passing empty JSValues to `JSC::call` and `cachedCall->callWithArguments` sometimes causes crashes.
This patch adds assertions to verify that all arguments are not empty.
| Attachments | ||
|---|---|---|
| Add attachment proposed patch, testcase, etc. |
Sosuke Suzuki
Pull request: https://github.com/WebKit/WebKit/pull/50725
EWS
Committed 300003@main (92935b22b9a6): <https://commits.webkit.org/300003@main>
Reviewed commits have been landed. Closing PR #50725 and removing active labels.
Alexey Proskuryakov
<rdar://problem/160665852>