commit | 34df55a3bd442a10cb6839bb729bfb08dc0e8c93 | [log] [tgz] |
---|---|---|
author | Kunlei Zhang <kunleiz@codeaurora.org> | Wed Feb 24 11:25:41 2021 +0800 |
committer | Gerrit - the friendly Code Review server <code-review@localhost> | Wed Mar 17 01:36:05 2021 -0700 |
tree | d9711c664fabe4da331945d4f6b288b6f1fcbe9d | |
parent | 2531ff66b0391a5a44e1c58eccca039bc45363a4 [diff] |
dsp: update size check for get VI param function In afe_get_cal_sp_th_vi_param functions, data size should check with size of cal_type_header. The check is not present which might lead to out of bounds access. Update condition to ensure data_size is greater than or equal to size of cal_type_header. Change-Id: Ib2904f53243f4fb858131511812fd90de32b4656 Signed-off-by: Kunlei Zhang <kunleiz@codeaurora.org>