[webkit-changes] [WebKit/WebKit] 57a7de: [GStreamer][WebRTC] Potential null dereference on ...

Philippe Normand noreply at github.com
Fri Jun 30 07:49:31 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 57a7de84fd522f52b5b1e9d43aeeb7fe0d1af491
      https://github.com/WebKit/WebKit/commit/57a7de84fd522f52b5b1e9d43aeeb7fe0d1af491
  Author: Philippe Normand <philn at igalia.com>
  Date:   2023-06-30 (Fri, 30 Jun 2023)

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

  Log Message:
  -----------
  [GStreamer][WebRTC] Potential null dereference on webrtcbin
https://bugs.webkit.org/show_bug.cgi?id=258724

Reviewed by Xabier Rodriguez-Calvar.

In a situation where the webrtc plugin is not available we might end up destroying an end-point that
has no webrtcbin element, so we need to check this before disconnecting signal handlers.

* Source/WebCore/Modules/mediastream/gstreamer/GStreamerMediaEndpoint.cpp:
(WebCore::GStreamerMediaEndpoint::teardownPipeline):

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




More information about the webkit-changes mailing list