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

Skip to content
Commit a56b28af authored by Kunlei Zhang's avatar Kunlei Zhang
Browse files

dsp: update size check for set/get VI param function



In afe_set_cal_sp_th_vi_cfg and afe_get_cal_sp_th_vi_param
functions, data size is not checked properly which might
lead to out of bounds access.

Add data_size check to avoid out of bounds access.

Change-Id: Ib1dfd1eaa2948b923f61a9c82b6cd76ff710ac9f
Signed-off-by: default avatarKunlei Zhang <kunleiz@codeaurora.org>
parent 497e6554
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