summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorNachiket Kukade <nkukade@codeaurora.org>2018-05-09 17:56:12 +0530
committernshrivas <nshrivas@codeaurora.org>2018-05-17 06:25:24 -0700
commit4a8a3997bb1b4a307b09bfb50fb6e03e2c879544 (patch)
treea4c472152479f74556007aaee6bea2049a952a93 /tools/perf/scripts/python
parent347a77128db35234c110288fa906daa8651f3ce3 (diff)
qcacld-3.0: Add a NULL check on channels in IOCTL SETROAMSCANCHANNELS
User sends driver a list of roaming scan channels to set through IOCTL SETROAMSCANCHANNELS. The parameters include the number of elements in the array, followed by channel array and then a NULL character. But when driver loops through the channel array it doesn't have a NULL check. An erroneous number of elements passed by user may cause buffer overread. Add a NULL check on channels passed in IOCTL SETROAMSCANCHANNELS. Change-Id: I7342aa5cf8e5267b7ed06a4e35b1ed882fb97893 CRs-Fixed: 2227039
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions