Bug 298073
| Summary: | Remove ALLOW_NONLITERAL_FORMAT_BEGIN/END macros for generateHtml() in SOAuthorizationTests.mm | ||
|---|---|---|---|
| Product: | WebKit | Reporter: | David Kilzer (:ddkilzer) <ddkilzer> |
| Component: | Tools / Tests | Assignee: | David Kilzer (:ddkilzer) <ddkilzer> |
| Status: | RESOLVED FIXED | ||
| Severity: | Normal | CC: | webkit-bug-importer |
| Priority: | P2 | Keywords: | InRadar |
| Version: | WebKit Nightly Build | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Bug Depends on: | 198874, 297946, 298071 | ||
| Bug Blocks: | |||
David Kilzer (:ddkilzer)
Remove ALLOW_NONLITERAL_FORMAT_BEGIN/END macros for generateHtml() in SOAuthorizationTests.mm.
We can do this by introducing `__attribute__((format_matches(printf, n, "...")))` to describe the format string used by the function.
See: <https://clang.llvm.org/docs/AttributeReference.html#format-matches>
| Attachments | ||
|---|---|---|
| Add attachment proposed patch, testcase, etc. |
Radar WebKit Bug Importer
<rdar://problem/159403033>
David Kilzer (:ddkilzer)
Pull request: https://github.com/WebKit/WebKit/pull/50041
EWS
Committed 299352@main (eacdac1d58d8): <https://commits.webkit.org/299352@main>
Reviewed commits have been landed. Closing PR #50041 and removing active labels.