diff options
| author | Yu Wang <yyuwang@codeaurora.org> | 2018-12-03 15:31:31 +0800 |
|---|---|---|
| committer | Yu Wang <yyuwang@codeaurora.org> | 2018-12-03 18:20:33 +0800 |
| commit | 350dd3d6f1570da6c871baac244286873557b5a5 (patch) | |
| tree | 44355ab3d58bc082e0090b5e340314aa9323ba54 /tools/perf/scripts/python/syscall-counts.py | |
| parent | fc2ef40c85b875fe9a702d87abff40d2f19816c1 (diff) | |
qcacld-2.0: check the data length when downloading firmware
When downloading a corrupted firmware file that has chunk length in
header which doesn't match the contents, buffer over-read may occur.
To fix it, before downloading the data, ensure the length is equal or
smaller than the left size of the firmware file.
Change-Id: I4e0c6c4423f94f26a8c4573b5d234296890f4ecf
CRs-Fixed: 2359884
Diffstat (limited to 'tools/perf/scripts/python/syscall-counts.py')
0 files changed, 0 insertions, 0 deletions
