diff options
author | Kefeng Wang <wangkefeng.wang@huawei.com> | 2021-05-24 10:49:41 +0800 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2021-05-24 09:49:28 +0100 |
commit | 41daf6ba594d55f201c50280ebcd430590441da1 (patch) | |
tree | d415141080c70d64700aa94df523b68c62c1a88f /include/sound | |
parent | af2702549d68519ac78228e915d9b2c199056787 (diff) |
ASoC: core: Fix Null-point-dereference in fmt_single_name()
Check the return value of devm_kstrdup() in case of
Null-point-dereference.
Fixes: 45dd9943fce0 ("ASoC: core: remove artificial component and DAI name constraint")
Cc: Dmitry Baryshkov <dmitry.baryshkov@linaro.org>
Reported-by: Hulk Robot <hulkci@huawei.com>
Signed-off-by: Kefeng Wang <wangkefeng.wang@huawei.com>
Link: https://lore.kernel.org/r/20210524024941.159952-1-wangkefeng.wang@huawei.com
Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'include/sound')
0 files changed, 0 insertions, 0 deletions