Bug 293223

Summary: [CMake] Enable -Wunsafe-buffer-usage-in-libc-call compiler warning
Product: WebKit Reporter: Adrian Perez <aperez>
Component: CMakeAssignee: 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
Reported 2025-05-19 03:21:02 PDT
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
Adrian Perez
Comment 1 2025-05-19 03:28:57 PDT
EWS
Comment 2 2025-05-20 05:26:32 PDT
Committed 295156@main (2a64f2982323): <https://commits.webkit.org/295156@main> Reviewed commits have been landed. Closing PR #45580 and removing active labels.
Note You need to log in before you can comment on or make changes to this bug.