diff options
| author | Will Huang <wilhuang@codeaurora.org> | 2017-06-08 17:18:42 +0800 |
|---|---|---|
| committer | snandini <snandini@codeaurora.org> | 2017-06-27 06:05:20 -0700 |
| commit | b39ea35638d4a05c8e193f9fa3f26d8f818acd53 (patch) | |
| tree | c596ed85752b464f1d1f58a025a68d4fddf23230 /tools/perf/scripts/python | |
| parent | 0c8cd41f438fadaa3ef5f0b7693e0ecb1834984c (diff) | |
qcacmn: Check mbox_index as index and check pointer
It is a static analyze check issue, hif_dev_map_pipe_to_mail_box may
return 255 and assign to mbox_index, which will cause buffer overflow.
Another issue is missing NULL check after allocate memory in function
hif_dev_send_buffer.
Fix it by checking NULL/invalid return pointer/index value.
Change-Id: If7b954343847097b7b5b601c684fe6b51d90daa4
CRs-Fixed: 2058300
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions
