[Webkit-unassigned] [Bug 281132] [GTK][WPE] GCC build error with fno-delete-null-pointer-checks
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Wed Oct 9 06:43:22 PDT 2024
https://bugs.webkit.org/show_bug.cgi?id=281132
--- Comment #4 from Michael Catanzaro <mcatanzaro at redhat.com> ---
I was surprised because Linux distros don't use this flag, but I see https://github.com/ossf/wg-best-practices-os-developers/blob/main/docs/Compiler-Hardening-Guides/Compiler-Options-Hardening-Guide-for-C-and-C%2B%2B.md#do-not-delete-null-pointer-checks recommends using it simply as a generic hardening measure. OK, seems reasonable to do so.
I wonder if this would work or not:
if constexpr (handler == nullptr)
--
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20241009/49befea7/attachment.htm>
More information about the webkit-unassigned
mailing list