summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/export-to-sqlite.py
diff options
context:
space:
mode:
authorAmeer Hamza <amhamza.mgc@gmail.com>2021-12-07 19:23:09 +0500
committerMark Brown <broonie@kernel.org>2021-12-09 12:31:50 +0000
commitbefe304536eeef71f8529ff877444ae2b72a37db (patch)
tree2a085964cf07ebf72f4a34f732764ec40ab593b1 /tools/perf/scripts/python/export-to-sqlite.py
parent5f9155a7d2dc067d72a95b42168f944c7710c0d5 (diff)
ASoC: test-component: fix null pointer dereference.
Dereferncing of_id pointer will result in exception in current implementation since of_match_device() will assign it to NULL. Adding NULL check for protection. Signed-off-by: Ameer Hamza <amhamza.mgc@gmail.com> Link: https://lore.kernel.org/r/20211207142309.222820-1-amhamza.mgc@gmail.com Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions