summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorOrhan K AKYILDIZ <oka@codeaurora.org>2017-04-04 19:10:26 -0700
committerspuligil <spuligil@codeaurora.org>2017-04-19 16:12:54 -0700
commitcc0f4ed21f1d5bf06e34ddf8927e681ccc54c5c9 (patch)
tree10c1dd5bfcff129efbe18e57c2c1c83910cb617f /tools/perf/scripts/python
parenta3a5094b495c29b850eeb56e6aed4c2126d03053 (diff)
qcacmn: Add boundary check on TSO segments
In the error-path execution stream where number of tso segments in a tso_descriptor, there was an assumption that the number would be > 0 (normal case is 2). When it is zero, a segment at a wrong index (-1=> (4M-1)) was being unmapped, which was a bad access. Add code to make sure that the index in question is in the range. Need still to understand the reason why num_segs were smaller (0) then expected (2). Change-Id: I5d6e16f48f29c98cfb2191cf497f4203ea56a78f CRs-Fixed: 2028808
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions