mirror of
https://github.com/mollyim/webrtc.git
synced 2025-05-14 22:30:40 +01:00
![]() The AecMobile struct contains a ::farendOld field. It's type is 'short [2][80]'. The field was initialized by memset(&aecm->farendOld[0][0], 0, 160); But sizeof(short) is not guaranteed to be 1. This causes use of unititialized memory on some platforms. According to MSAN, it can affect the output of the echo canceller. The issue was found by the MSAN fuzzer. This change initializes the array properly. Bug: chromium:805396 Change-Id: Ibcaca2185cfa153e8fd826e9addfc04d7b65e417 Reviewed-on: https://webrtc-review.googlesource.com/43860 Reviewed-by: Sam Zackrisson <saza@webrtc.org> Commit-Queue: Alex Loiko <aleloi@webrtc.org> Cr-Commit-Position: refs/heads/master@{#21764} |
||
---|---|---|
.. | ||
aecm_core.cc | ||
aecm_core.h | ||
aecm_core_c.cc | ||
aecm_core_mips.cc | ||
aecm_core_neon.cc | ||
aecm_defines.h | ||
echo_control_mobile.cc | ||
echo_control_mobile.h |