aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/util/scripting-engines/trace-event-python.c
diff options
context:
space:
mode:
authorRanjani Sridharan <[email protected]>2021-02-01 11:31:28 +0200
committerMark Brown <[email protected]>2021-02-01 13:18:58 +0000
commit941d3f0d7e9ffcbee1efeb6f07fa5fc5ef8347ff (patch)
treea1a35290c9989035373777499230de9206ea5472 /tools/perf/util/scripting-engines/trace-event-python.c
parent0084364d9678e9d722ee620ed916f2f9954abdbf (diff)
ASoC: SOF: topology: Prevent NULL pointer dereference with no TLV
When there is no TLV data in topology, extracting the TLV data could result in a NULL pointer exception. Prevent this by making sure that the TLV data exists before extracting it. Signed-off-by: Ranjani Sridharan <[email protected]> Reviewed-by: Guennadi Liakhovetski <[email protected]> Reviewed-by: Paul Olaru <[email protected]> Reviewed-by: Bard Liao <[email protected]> Signed-off-by: Kai Vehmanen <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Mark Brown <[email protected]>
Diffstat (limited to 'tools/perf/util/scripting-engines/trace-event-python.c')
0 files changed, 0 insertions, 0 deletions