summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/call-graph-from-postgresql.py
diff options
context:
space:
mode:
authorVidyakumar Athota <vathota@codeaurora.org>2017-04-06 10:27:58 -0700
committerVidyakumar Athota <vathota@codeaurora.org>2017-05-01 14:48:34 -0700
commit852f0007e7882d1377bd4a0ddc53061cfd0eb997 (patch)
tree2497f2f7321d5e295eb2960157630c1188b37bbc /tools/perf/scripts/python/call-graph-from-postgresql.py
parent1c450066c7c30a84ab95adc8674833508418e4a3 (diff)
soc: qcom: fix to avoid memory allocation failures
Currenlty wdsp_glink_write() API allocates 256KB buffer and free after it is transferred to glink. But this may result in memory allocation failures in low memory situations. Fix this issue by allocating the required size and validate it to avoid overflow. Change-Id: I891e4361aa5f24c5a518b3acb1d7cf6a9baa5bdf Signed-off-by: Vidyakumar Athota <vathota@codeaurora.org>
Diffstat (limited to 'tools/perf/scripts/python/call-graph-from-postgresql.py')
0 files changed, 0 insertions, 0 deletions