diff options
| author | Kunlei Zhang <kunleiz@codeaurora.org> | 2021-02-24 11:25:41 +0800 |
|---|---|---|
| committer | Gerrit - the friendly Code Review server <code-review@localhost> | 2021-03-26 00:36:43 -0700 |
| commit | 3c798f47b4ff7a9de3acff3773b00cafe1cf0cfc (patch) | |
| tree | 1bc65fde1c6e1b554faa46876f6363a0cff71ec0 /scripts/gdb/linux/utils.py | |
| parent | 61dc9e94f50ebebba258f60b5418f6083aaef6c8 (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 'scripts/gdb/linux/utils.py')
0 files changed, 0 insertions, 0 deletions
