commit | 16ac10d9f75cde959f00df062f544c49941882da | [log] [tgz] |
---|---|---|
author | Jan Grulich <grulja@gmail.com> | Wed Feb 28 20:08:16 2024 |
committer | WebRTC LUCI CQ <webrtc-scoped@luci-project-accounts.iam.gserviceaccount.com> | Thu Feb 29 10:20:09 2024 |
tree | 29597075248999e5e9b98a60eb4e9c0d4dabc9d0 | |
parent | 20a90295fcea910dc774df0bbd0e65e13606c2e8 [diff] |
PipeWire camera: use length of device id instead display name We want to copy device id to _lastUsedDeviceName variable, but we use length of display name instead of length of device id, which might be longer than expected and we end up reading beyond the source string. Bug: webrtc:15853 Change-Id: Id278ed7e361ead85475910adec18b9db51e6890b Reviewed-on: https://webrtc-review.googlesource.com/c/src/+/341521 Commit-Queue: Jan Grulich <grulja@gmail.com> Reviewed-by: Ilya Nikolaevskiy <ilnik@webrtc.org> Cr-Commit-Position: refs/heads/main@{#41844}
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 here for instructions on how to get started developing with the native code.
Authoritative list of directories that contain the native API header files.