[webkit-changes] [WebKit/WebKit] 5ee7ce: [GStreamer][WebRTC] Crash when calling rtpSender.g...

Philippe Normand noreply at github.com
Fri Apr 14 01:03:52 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 5ee7cece66a1410a73b0ea4f63aa4230a8db168d
      https://github.com/WebKit/WebKit/commit/5ee7cece66a1410a73b0ea4f63aa4230a8db168d
  Author: Philippe Normand <philn at igalia.com>
  Date:   2023-04-14 (Fri, 14 Apr 2023)

  Changed paths:
    M Source/WebCore/Modules/mediastream/gstreamer/GStreamerWebRTCUtils.cpp

  Log Message:
  -----------
  [GStreamer][WebRTC] Crash when calling rtpSender.getParameters()
https://bugs.webkit.org/show_bug.cgi?id=255391

Reviewed by Xabier Rodriguez-Calvar.

* Source/WebCore/Modules/mediastream/gstreamer/GStreamerWebRTCUtils.cpp:
(WebCore::toRTCRtpSendParameters): Get the GstStructure from the GValue, instead of casting
non-sense leading to crashes when attempting to use the casted structure.

Canonical link: https://commits.webkit.org/262948@main




More information about the webkit-changes mailing list