aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/scripts/python/export-to-postgresql.py
diff options
context:
space:
mode:
authorLi Xu <li.xu@cirrus.com>2019-10-01 14:09:11 +0100
committerMark Brown <broonie@kernel.org>2019-10-01 17:43:36 +0100
commit9daf4fd0302b2559223cf90dae7dc510c6679047 (patch)
treed568d2ae2780fcd585d23c18c04ebb972b89d6bd /tools/perf/scripts/python/export-to-postgresql.py
parentASoC: max98373: check for device node before parsing (diff)
downloadlinux-dev-9daf4fd0302b2559223cf90dae7dc510c6679047.tar.xz
linux-dev-9daf4fd0302b2559223cf90dae7dc510c6679047.zip
ASoC: wm_adsp: Fix theoretical NULL pointer for alg_region
Fix potential NULL pointer dereference for alg_region in wm_adsp_buffer_parse_legacy. In practice this can never happen as loading the firmware should have failed at the wm_adsp2_setup_algs stage, however probably better for the code to be robust against future changes and this is more helpful for static analysis. Signed-off-by: Li Xu <li.xu@cirrus.com> Signed-off-by: Charles Keepax <ckeepax@opensource.cirrus.com> Link: https://lore.kernel.org/r/20191001130911.19238-1-ckeepax@opensource.cirrus.com Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions