summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/export-to-postgresql.py
diff options
context:
space:
mode:
authorOhad Sharabi <osharabi@habana.ai>2021-05-03 09:44:22 +0300
committerOded Gabbay <ogabbay@kernel.org>2021-06-18 15:23:39 +0300
commitea7d5e7b102bf0bd41eef1faa6b2337e45791a62 (patch)
treebea01cdd8ec39d8da1e826a79f30ec07bdd6ecd4 /tools/perf/scripts/python/export-to-postgresql.py
parent6542c3541d0f9405626faff9509aa28671fc3804 (diff)
habanalabs: avoid using uninitialized pointer
When attempting to read FW component's version we should break if input FW component is invalid in order to avoid using uninitialized destination pointer. Signed-off-by: Ohad Sharabi <osharabi@habana.ai> Reviewed-by: Oded Gabbay <ogabbay@kernel.org> Signed-off-by: Oded Gabbay <ogabbay@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions