Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 758f24c80d6a9ff9cdee8a85ba2771dab3659095
      
https://github.com/WebKit/WebKit/commit/758f24c80d6a9ff9cdee8a85ba2771dab3659095
  Author: Philippe Normand <[email protected]>
  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
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to