summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorSandeep Singh <sandsing@codeaurora.org>2018-10-04 15:53:23 +0530
committerSandeep Singh <sandsing@codeaurora.org>2018-10-09 11:32:50 +0530
commit5bad01206d00b2bf52f78bb78c46c82130c7b2c6 (patch)
tree101c84b651fa37c1e4f6f5463a29c1c55e89303c /tools/perf/scripts/python
parent3b8fc0b7a3fcc809378d82dbf66b417e186af205 (diff)
wcnss: fix integer underflow in wcnss_wlan
Fix integer underflow which may eventually results in an buffer overread in wcnss_nvbin_dnld when the firmware file size is less than 4 Byte. Add a check on file size before performing arithmetic operation which avoids buffer underflow. CRs-Fixed: 2279226 Change-Id: Ia7fdb859e8c999f8a2e81c957c7cab35ef312844 Signed-off-by: Sandeep Singh <sandsing@codeaurora.org>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions