gstreamer/subprojects/gst-plugins-bad/gst-libs/gst
Johan Sternerup 4b96294f19 webrtc: Fix possible use-after-free of GstWebRTCICETransport
Because of the asynchronous resolving of mDNS ICE candidates it is
possible that GstWebRTCICE outlives webrtcbin. This in turn prolongs
the lifetime of the GstWebRTCNiceStream objects via refs in
nice_stream_map. Thus the GstWebRTCICETransport objects held in
GstWebRTCNiceStream may be invalid at the time they are accessed by
the _on_candidate_gathering_done() callback since GstWebRTCNiceStream
doesn't take a reference to them. Doing so would create a circular
reference, so instead this commit introduces weak references to the
transport objects and then we can check if the objects are valid before
accessing them.

Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/3502>
2022-12-02 03:37:29 +00:00
..
adaptivedemux adaptivedemux: Minor typo fix 2022-10-27 19:45:44 +00:00
audio badaudio: Add/fix annotations 2022-10-18 13:51:16 +03:00
basecamerabinsrc docs: fix unnecessary ampersand, < and > escaping in code blocks 2021-11-12 11:39:19 +00:00
codecparsers h264parser: Fix a typo in pred_weight_table parsing. 2022-11-25 14:13:46 +00:00
codecs av1decoder: Clear highest_spatial_layer per sequence header 2022-11-19 11:58:01 +00:00
cuda cudaupload,cudadownload: Add support for planar 8bits RGB formats 2022-11-15 16:25:44 +00:00
d3d11 d3d11converter: Fix YUY2 conversion error 2022-11-14 20:14:27 +00:00
insertbin meson: Namespace the plugins_doc_dep/libraries variables 2022-09-01 21:17:35 +00:00
interfaces meson: Namespace the plugins_doc_dep/libraries variables 2022-09-01 21:17:35 +00:00
isoff gst-plugins-bad: define G_LOG_DOMAIN for all libraries 2021-10-19 00:12:25 +00:00
mpegts meson: Namespace the plugins_doc_dep/libraries variables 2022-09-01 21:17:35 +00:00
opencv meson: Namespace the plugins_doc_dep/libraries variables 2022-09-01 21:17:35 +00:00
play gstplay: add warning message details check before post it 2022-11-15 01:01:10 +00:00
player meson: Namespace the plugins_doc_dep/libraries variables 2022-09-01 21:17:35 +00:00
sctp meson: Namespace the plugins_doc_dep/libraries variables 2022-09-01 21:17:35 +00:00
transcoder transcoder: Don't leak API bus and GMainLoop 2022-11-12 10:33:51 +01:00
uridownloader meson: Namespace the plugins_doc_dep/libraries variables 2022-09-01 21:17:35 +00:00
va libs: va: Add API to peek the va buffer's display. 2022-11-05 13:39:34 +08:00
vulkan vulkan: Mark gst_vulkan_image_view_new create_info as constant pointer 2022-11-01 15:19:51 +01:00
wayland meson: Namespace the plugins_doc_dep/libraries variables 2022-09-01 21:17:35 +00:00
webrtc webrtc: Fix possible use-after-free of GstWebRTCICETransport 2022-12-02 03:37:29 +00:00
winrt gst-plugins-bad: define G_LOG_DOMAIN for all libraries 2021-10-19 00:12:25 +00:00
glib-compat-private.h Move files from gst-plugins-bad into the "subprojects/gst-plugins-bad/" subdir 2021-09-24 16:14:36 -03:00
meson.build cuda: Factor out a public GstCUDA library 2022-04-19 16:39:43 +00:00