[webkit-changes] [WebKit/WebKit] e53439: [GStreamer][WebRTC] Missing null/zero checks in 1....

Philippe Normand noreply at github.com
Fri Jan 27 02:30:46 PST 2023


  Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: e534395cf34aabb738ec2a7b9f105ba672d9fb78
      https://github.com/WebKit/WebKit/commit/e534395cf34aabb738ec2a7b9f105ba672d9fb78
  Author: Philippe Normand <philn at igalia.com>
  Date:   2023-01-27 (Fri, 27 Jan 2023)

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

  Log Message:
  -----------
  [GStreamer][WebRTC] Missing null/zero checks in 1.22 code paths
https://bugs.webkit.org/show_bug.cgi?id=251145

Reviewed by Xabier Rodriguez-Calvar.

* Source/WebCore/Modules/mediastream/gstreamer/GStreamerMediaEndpoint.cpp:
(WebCore::GStreamerMediaEndpoint::addRemoteStream): The msid property can be null, so needs checking.
(WebCore::GStreamerMediaEndpoint::requestAuxiliarySender): Remove auxiliary sender caching. This
code is called once per transport stream, ownership of the sender is passed to the caller.

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




More information about the webkit-changes mailing list