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: Ibe049300c609d0d717309bccc65cac876ac075f7
Signed-off-by:
Kunlei Zhang <kunleiz@codeaurora.org>
Loading
Please register or sign in to comment