[webkit-changes] [WebKit/WebKit] 0d4fb3: [GTK][WPE] Enable -Wunsafe-buffer-usage for the WT...
Adrian Perez
noreply at github.com
Wed Oct 30 07:52:31 PDT 2024
Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: 0d4fb375d43d066fa1f851aac132329d6169adc1
https://github.com/WebKit/WebKit/commit/0d4fb375d43d066fa1f851aac132329d6169adc1
Author: Adrian Perez de Castro <aperez at igalia.com>
Date: 2024-10-30 (Wed, 30 Oct 2024)
Changed paths:
M Source/WTF/wtf/CMakeLists.txt
M Source/WTF/wtf/CryptographicUtilities.cpp
M Source/WTF/wtf/ParallelJobsGeneric.cpp
M Source/WTF/wtf/RandomDevice.cpp
M Source/WTF/wtf/StackTrace.cpp
M Source/WTF/wtf/glib/ChassisType.cpp
M Source/WTF/wtf/glib/SocketConnection.cpp
Log Message:
-----------
[GTK][WPE] Enable -Wunsafe-buffer-usage for the WTF target
https://bugs.webkit.org/show_bug.cgi?id=282300
Reviewed by Michael Catanzaro.
Enable additional bounds safety checks from -Wunsafe-buffer-usage in
the WTF target, for the GTK and WPE ports. Also add the needed
WTF_ALLOW_UNSAFE_BUFFER_{BEGIN,END} supressions.
* Source/WTF/wtf/CMakeLists.txt:
* Source/WTF/wtf/CryptographicUtilities.cpp:
(WTF::constantTimeMemcmp):
* Source/WTF/wtf/ParallelJobsGeneric.cpp:
(WTF::ParallelEnvironment::execute):
* Source/WTF/wtf/RandomDevice.cpp:
(WTF::RandomDevice::cryptographicallyRandomValues):
* Source/WTF/wtf/StackTrace.cpp:
* Source/WTF/wtf/glib/ChassisType.cpp:
(WTF::readMachineInfoChassisType):
* Source/WTF/wtf/glib/SocketConnection.cpp:
(WTF::SocketConnection::read):
(WTF::SocketConnection::readMessage):
(WTF::SocketConnection::sendMessage):
(WTF::SocketConnection::write):
Canonical link: https://commits.webkit.org/285903@main
To unsubscribe from these emails, change your notification settings at https://github.com/WebKit/WebKit/settings/notifications
More information about the webkit-changes
mailing list