summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorSourav Mohapatra <mohapatr@codeaurora.org>2018-11-30 16:27:05 +0530
committerSourav Mohapatra <mohapatr@codeaurora.org>2019-01-14 09:44:19 +0530
commita204290bb84d4bf5217668f257a933b063831c67 (patch)
treec13fedaa0e18a58b1b577adcfc3b5fc61ac3d5c5 /tools/perf/scripts/python
parent638930eb24331ff7778e6689b0f812dc7a11d537 (diff)
qcacld-3.0: Validate user input for null termination
In hdd_dns_make_name_query() the parameter string is a user controlled input. The driver assumes that the input is null terminated string and accordingly the exit condition of the loop is specified. In case the user sends input with no null termination then it can lead to possible OOB scenario. Add a null termination validation on the string so that any erroneous input is filtered. Change-Id: I2abb4875569c508179c4488347f7c9aae0666332 CRs-Fixed: 2342812
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions