summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorYu Wang <yyuwang@codeaurora.org>2018-09-13 16:58:45 +0800
committernshrivas <nshrivas@codeaurora.org>2018-09-17 05:49:25 -0700
commit9d878a8d0e3b1879bfc5d9e023a3be008ae7ba09 (patch)
tree12066d96582b76c31ffe1117032c12888c703834 /tools/perf/scripts/python
parent9bad1c6da41e234409b7cff495dcdcb7856b2467 (diff)
qcacld-3.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: 2314182
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions