aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/export-to-postgresql.py
diff options
context:
space:
mode:
authorSrinivas Dasari <dasaris@codeaurora.org>2021-01-04 16:20:46 +0530
committersnandini <snandini@codeaurora.org>2021-01-13 05:01:31 -0800
commitac8eb165838a63fbf721528458356b92eb95ccd3 (patch)
tree71a37bc9e210986b0a26090ab174774f73c0bed1 /tools/perf/scripts/python/export-to-postgresql.py
parent872cac888e31235a373ba6e111ee61a09f0cd255 (diff)
qcacmn: Possible buffer overflow while copying rnr info
A temporary variable "temp" is declared to use it while sorting the channels based on the weightage/rnr info. This is declared as a pointer to hold the reference of struct rnr_chan_weight but memcpy is done to this without allocating memory. Declare this as a variable instead of pointer to use it as an intermediate variable for sorting. Change-Id: If619f5fa462d5400f0a77e57317ac3c8debb34a5 CRs-Fixed: 2842819
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions