commit | e34d31a21bd936f0191f69d42b4e088e0f11401c | [log] [tgz] |
---|---|---|
author | Xiaoyu Ye <benyxy@codeaurora.org> | Sun Mar 03 21:14:10 2019 -0800 |
committer | chrmhoffmann <chrmhoffmann@gmail.com> | Sun Apr 05 10:15:07 2020 +0200 |
tree | 64235d05992ba2e33f5429c29dd7b0cef0168fca | |
parent | ea954c0193ddfc755ebd44c22431d354bce93c54 [diff] |
dsp: codecs: fix range check for audio buffer copying The range checking for audio buffer copying in function "audio_in_write" is using the incorrect buffer size. Change it to the actual allocated audio buffer size. Change-Id: Ib7aaa2163c0d99161369eb85d09dc2d23d8c787b Signed-off-by: Xiaoyu Ye <benyxy@codeaurora.org> [haggertk: Backport to 3.4/msm8974] CVE-2019-2341 Signed-off-by: Kevin F. Haggerty <haggertk@lineageos.org>