commit | 63173d5bef1302959d05cb932e94dcb4e53a4282 | [log] [tgz] |
---|---|---|
author | Michael Olbrich <m.olbrich@pengutronix.de> | Wed Aug 21 11:05:18 2019 |
committer | Commit Bot <commit-bot@chromium.org> | Thu Sep 26 18:58:56 2019 |
tree | 6cf439d0c8beed59aa39d511856f01e6b13456df | |
parent | c6d7d58c13e88f40002afc2f8161269325a2ae6b [diff] |
pipewire: handle deleting the capturer while a D-Bus call is in progress If a D-Bus call is in progress when a BaseCapturerPipeWire is deleted, then the user_data is invalid when the callback function is called. This results in memory corruption. To fix this, use a GCancellable. If it is canceled, the callback will be called with a corresponding error. Detect this error and abort before accessing the user_data. Note: The first argument is the 'source_object'. For g_dbus_proxy_call() this is the proxy object not the connection. This was not a problem before, because it was not used. Bug: None Change-Id: I8d5e3fb5c49fcc9afd61cdb8e8249f78b9434faf Reviewed-on: https://webrtc-review.googlesource.com/c/src/+/149817 Reviewed-by: Jamie Walch <jamiewalch@chromium.org> Commit-Queue: Jamie Walch <jamiewalch@chromium.org> Cr-Commit-Position: refs/heads/master@{#29326}
WebRTC is a free, open software project that provides browsers and mobile applications with Real-Time Communications (RTC) capabilities via simple APIs. The WebRTC components have been optimized to best serve this purpose.
Our mission: To enable rich, high-quality RTC applications to be developed for the browser, mobile platforms, and IoT devices, and allow them all to communicate via a common set of protocols.
The WebRTC initiative is a project supported by Google, Mozilla and Opera, amongst others.
See http://www.webrtc.org/native-code/development for instructions on how to get started developing with the native code.
Authoritative list of directories that contain the native API header files.