diff options
| author | Nachiket Kukade <nkukade@codeaurora.org> | 2018-06-08 15:36:47 +0530 |
|---|---|---|
| committer | Nachiket Kukade <nkukade@codeaurora.org> | 2018-06-08 15:39:58 +0530 |
| commit | c18da275f904087c41950078a222e5f1d435157f (patch) | |
| tree | 0d2ccd0f58584ab784571b22625b253801125982 /tools/perf/scripts/python | |
| parent | 076ea10f280267dd83dfe75b1580048c9a4f989c (diff) | |
qcacld-2.0: Add a NULL check on channels in IOCTL SETROAMSCANCHANNELS
qcacld-3.0 to qcacld-2.0 propagation
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: 2257064
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions
