Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit fff10631 authored by Xiaoyu Ye's avatar Xiaoyu Ye
Browse files

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: default avatarXiaoyu Ye <benyxy@codeaurora.org>
parent ff3d7de3
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment