[webkit-changes] [WebKit/WebKit] 758f24: [GStreamer] Fix uint structure field serialization...
Philippe Normand
noreply at github.com
Fri Jul 5 05:08:49 PDT 2024
Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: 758f24c80d6a9ff9cdee8a85ba2771dab3659095
https://github.com/WebKit/WebKit/commit/758f24c80d6a9ff9cdee8a85ba2771dab3659095
Author: Philippe Normand <philn at igalia.com>
Date: 2024-07-05 (Fri, 05 Jul 2024)
Changed paths:
M Source/WebCore/platform/graphics/gstreamer/GStreamerCommon.cpp
M Tools/TestWebKitAPI/Tests/WebCore/gstreamer/GStreamerTest.cpp
Log Message:
-----------
[GStreamer] Fix uint structure field serialization to JSON
https://bugs.webkit.org/show_bug.cgi?id=276247
Reviewed by Xabier Rodriguez-Calvar.
Converting an uint to int can lead to integer overflow, so use double instead.
* Source/WebCore/platform/graphics/gstreamer/GStreamerCommon.cpp:
(WebCore::gstStructureValueToJSON):
* Tools/TestWebKitAPI/Tests/WebCore/gstreamer/GStreamerTest.cpp:
(TestWebKitAPI::TEST_F):
Canonical link: https://commits.webkit.org/280682@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