diff options
| author | Xiaojun Sang <xsang@codeaurora.org> | 2016-10-10 15:44:23 +0800 |
|---|---|---|
| committer | Xiaojun Sang <xsang@codeaurora.org> | 2016-10-11 14:40:22 +0800 |
| commit | de352c72d1b401236db5f2c83b52c2df0b6b37ed (patch) | |
| tree | 22ca0cded317355bd5f9074d0942e448991d71b4 /tools/perf/scripts/python | |
| parent | 34b975e502ed8fa96b81ecf06734d1d51a258cd2 (diff) | |
ASoC: qdsp6v2: fix potential bug of infinite loop
When variable bufsz equals to 0, there would be infinite loop
at q6asm_audio_client_buf_alloc.
Fix the potential bug by checking bufsz beforehand.
CRs-Fixed: 1072280
Change-Id: I9640112b8945dc603e3af55fc1096bea9f7e6634
Signed-off-by: Xiaojun Sang <xsang@codeaurora.org>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions
