[Webkit-unassigned] [Bug 282193] error: the two-parameter std::span construction is unsafe as it can introduce mismatch between buffer size and the bound information [-Werror, -Wunsafe-buffer-usage-in-container]
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Mon Oct 28 12:17:19 PDT 2024
https://bugs.webkit.org/show_bug.cgi?id=282193
--- Comment #1 from Michael Catanzaro <mcatanzaro at redhat.com> ---
Also, a few of these:
/home/mcatanzaro/Projects/WebKit/Source/WebKit/UIProcess/gtk/SystemSettingsManagerProxyGtk.cpp:61:16: error: unsafe pointer arithmetic [-Werror,-Wunsafe-buffer-usage]
61 | return g_str_has_suffix(themeNameEnv, "-dark") || g_str_has_suffix(themeNameEnv, "-Dark") || g_str_has_suffix(themeNameEnv, ":dark");
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/mcatanzaro/Projects/GNOME/install/include/glib-2.0/glib/gstrfuncs.h:197:40: note: expanded from macro 'g_str_has_suffix'
197 | __result = memcmp (__str + __str_len - __suffix_len, \
| ~~~~~~^~~~~~~~~~~
--
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/20241028/cf4124bf/attachment-0001.htm>
More information about the webkit-unassigned
mailing list