63173d5bef1302959d05cb932e94dcb4e53a4282

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.
Development
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.
More info
- Official web site: http://www.webrtc.org
- Master source code repo: https://webrtc.googlesource.com/src
- Samples and reference apps: https://github.com/webrtc
- Mailing list: http://groups.google.com/group/discuss-webrtc
- Continuous build: http://build.chromium.org/p/client.webrtc
- Coding style guide
- Code of conduct
Description
Languages
C++
88.6%
C
3.3%
Java
3%
Objective-C++
1.9%
Python
1.9%
Other
1%