Bug 282873
| Summary: | [JSC] Fix Linux build error after 286359@main | ||
|---|---|---|---|
| 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
/home/sosukesuzuki/ghq/github.com/WebKit/WebKit/Source/JavaScriptCore/runtime/Options.cpp:422:62: error: 'name' is an unsafe pointer used for buffer access [-Werror,-Wunsafe-buffer-usage]
422 | bool Options::overrideAliasedOptionWithHeuristic(const char* name)
| ~~~~~~~~~~~~^~~~
/home/sosukesuzuki/ghq/github.com/WebKit/WebKit/Source/JavaScriptCore/runtime/Options.cpp:428:43: note: used in buffer access here
428 | auto aliasedOption = makeString(span(&name[4]), '=', span(stringValue));
| ^~~~
1 error generated.
| Attachments | ||
|---|---|---|
| Add attachment proposed patch, testcase, etc. |
Sosuke Suzuki
Pull request: https://github.com/WebKit/WebKit/pull/36435
EWS
Committed 286382@main (968ecacbe1cc): <https://commits.webkit.org/286382@main>
Reviewed commits have been landed. Closing PR #36435 and removing active labels.
Radar WebKit Bug Importer
<rdar://problem/139570361>