diff options
author | Wen Yang <[email protected]> | 2019-07-10 15:25:07 +0800 |
---|---|---|
committer | Mark Brown <[email protected]> | 2019-07-10 16:33:55 +0100 |
commit | 27862d5a3325bc531ec15e3c607e44aa0fd57f6f (patch) | |
tree | 2d50bdb26c3429189e5eb9522c5be5d6171c1384 /drivers/usb/cdns3/cdns3-debug.h | |
parent | 724808ad556c15e9473418d082f8aae81dd267f6 (diff) |
ASoC: simple-card: fix an use-after-free in simple_for_each_link()
The codec variable is still being used after the of_node_put() call,
which may result in use-after-free.
Fixes: d947cdfd4be2 ("ASoC: simple-card: cleanup DAI link loop method - step1")
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Wen Yang <[email protected]>
Acked-by: Kuninori Morimoto <[email protected]>
Signed-off-by: Mark Brown <[email protected]>
Diffstat (limited to 'drivers/usb/cdns3/cdns3-debug.h')
0 files changed, 0 insertions, 0 deletions