aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/export-to-sqlite.py
diff options
context:
space:
mode:
authorKunlei Zhang <kunleiz@codeaurora.org>2021-02-24 11:25:41 +0800
committerGerrit - the friendly Code Review server <code-review@localhost>2021-03-26 00:36:43 -0700
commit3c798f47b4ff7a9de3acff3773b00cafe1cf0cfc (patch)
tree1bc65fde1c6e1b554faa46876f6363a0cff71ec0 /tools/perf/scripts/python/export-to-sqlite.py
parent61dc9e94f50ebebba258f60b5418f6083aaef6c8 (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>
Diffstat (limited to 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions