diff options
author | Zeng Heng <[email protected]> | 2022-11-14 16:56:29 +0800 |
---|---|---|
committer | Mark Brown <[email protected]> | 2022-11-14 11:30:30 +0000 |
commit | ec7bf231aaa1bdbcb69d23bc50c753c80fb22429 (patch) | |
tree | 1bf554e83c10b53122ac814f5b38fef9a7eb3cc1 /tools/perf/scripts/python/mem-phys-addr.py | |
parent | 23dab2ec7419280d116dcfd14f067303f7a0313d (diff) |
ASoC: pxa: fix null-pointer dereference in filter()
kasprintf() would return NULL pointer when kmalloc() fail to allocate.
Need to check the return pointer before calling strcmp().
Fixes: 7a824e214e25 ("ASoC: mmp: add audio dma support")
Signed-off-by: Zeng Heng <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Mark Brown <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/mem-phys-addr.py')
0 files changed, 0 insertions, 0 deletions