Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[GStreamer] Passing unexpected value type to g_object_set() leads to …
…buffer over-read https://bugs.webkit.org/show_bug.cgi?id=246334 Reviewed by Philippe Normand. Arrange to pass values of the correct size through the g_object_set() varargs when configuring the videorate GStreamer element. Bug found by Bastian Krause, who also suggested the fix. * Source/WebCore/platform/mediastream/gstreamer/GStreamerVideoCapturer.cpp: (WebCore::GStreamerVideoCapturer::createConverter): Use literal TRUE to set the "drop-only" property of the videorate element, and the UINT64_C macro from the standard library to provide a 64-bit unsigned literal for the "average-period". Canonical link: https://commits.webkit.org/255427@main
- Loading branch information