diff options
| author | Xiaoyu Ye <benyxy@codeaurora.org> | 2017-05-12 16:09:01 -0700 |
|---|---|---|
| committer | Gerrit - the friendly Code Review server <code-review@localhost> | 2017-05-16 11:30:43 -0700 |
| commit | 0c53b526c049c1e8bc1048b5ed8f80996e4a4be6 (patch) | |
| tree | 1a4bc15119adf2939df2eac8c066aabc5e24cd13 /scripts/stackusage | |
| parent | 75a9d0fee5b264c89afdc8b155848625fcbe9ca0 (diff) | |
ASoC: msm-cpe: Fix range checking in function fw_name_store
The range checking between "WCD_CPE_IMAGE_FNAME_MAX" and
"copy_count" is off-by-one due to the size of array
"core->dyn_fname" is "WCD_CPE_IMAGE_FNAME_MAX". Subtract
one from the range checking to fix this issue.
Change-Id: I87fd55206f79ad7b13c3878f6642bf5579303b17
Signed-off-by: Xiaoyu Ye <benyxy@codeaurora.org>
Diffstat (limited to 'scripts/stackusage')
0 files changed, 0 insertions, 0 deletions
