commit | ab835fe86efd94a5ecf2b3b50fe6f4d1d494b74e | [log] [tgz] |
---|---|---|
author | Alex Henrie <alexhenrie24@gmail.com> | Fri Mar 20 12:18:30 2020 -0600 |
committer | Commit Bot <commit-bot@chromium.org> | Sat Mar 21 23:01:47 2020 +0000 |
tree | 6b7f8188ae6720a3bc532a14004165c29d3af688 | |
parent | 8515d5a4ab4b2e3fd29b0d3ec572db9325262b61 [diff] |
Fix bad frees in error paths of WebRtcAecm_Create The error paths free the memory referenced by each pointer in the struct, but if the pointers are not initialized, random memory belonging to other parts of the program could be freed instead. Zero out the entire struct as soon as it is allocated to ensure that nothing is freed if there is nothing to free. Bug: webrtc:11446 Change-Id: I8a2985d1388477339351aa03107ee68925372d49 Reviewed-on: https://webrtc-review.googlesource.com/c/src/+/171121 Commit-Queue: Karl Wiberg <kwiberg@webrtc.org> Reviewed-by: Karl Wiberg <kwiberg@webrtc.org> Cr-Commit-Position: refs/heads/master@{#30852}
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.