Bug 293223
| Summary: | [CMake] Enable -Wunsafe-buffer-usage-in-libc-call compiler warning | ||
|---|---|---|---|
| Product: | WebKit | Reporter: | Adrian Perez <aperez> |
| Component: | CMake | Assignee: | Adrian Perez <aperez> |
| Status: | RESOLVED FIXED | ||
| Severity: | Normal | ||
| Priority: | P2 | ||
| Version: | WebKit Nightly Build | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| See Also: | https://bugs.webkit.org/show_bug.cgi?id=287209 | ||
Adrian Perez
This warning is a complement to -Wunsafe-buffer-usage that is supported by Clang 20+. Currently the GTK and WPE ports can be built without changes with this warning enabled, and enabling it by default will help prevent introducing issues checked by the compiler accidentally.
| Attachments | ||
|---|---|---|
| Add attachment proposed patch, testcase, etc. |
Adrian Perez
Pull request: https://github.com/WebKit/WebKit/pull/45580
EWS
Committed 295156@main (2a64f2982323): <https://commits.webkit.org/295156@main>
Reviewed commits have been landed. Closing PR #45580 and removing active labels.