diff options
| author | Kunlei Zhang <kunleiz@codeaurora.org> | 2021-04-12 14:24:47 +0800 |
|---|---|---|
| committer | Gerrit - the friendly Code Review server <code-review@localhost> | 2021-04-12 00:57:26 -0700 |
| commit | 480d292eeea8db219345fc109facb004bb3d7943 (patch) | |
| tree | 32746354510cbd93a5f212cce39ee2aad7f963ba /tools/perf/scripts/python/export-to-sqlite.py | |
| parent | 3c798f47b4ff7a9de3acff3773b00cafe1cf0cfc (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: I8fb5cc20102ed4c0ac6708cfa8521e9082d768dc
Signed-off-by: Kunlei Zhang <kunleiz@codeaurora.org>
Diffstat (limited to 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions
