aboutsummaryrefslogtreecommitdiff
path: root/lib/netdev-notifier-error-inject.c
diff options
context:
space:
mode:
authorRanjani Sridharan <[email protected]>2020-07-07 15:40:27 -0500
committerMark Brown <[email protected]>2020-07-08 15:02:02 +0100
commiteceb5437ed0d41be5d12af3add58b3be2d5719e5 (patch)
treef4e73597877eaf401e6bcfe7e43739751c9e5fc1 /lib/netdev-notifier-error-inject.c
parent503ed52225ed3d369c8e0dedf13556a7bc1e5c2b (diff)
ASoC: SOF: core: fix null-ptr-deref bug during device removal
The DSP should be notified for device removal only if the probe was successful. Fixes the following KASAN bug: BUG: KASAN: null-ptr-deref in sof_ipc_tx_message+0x80/0x160 [snd_sof] Signed-off-by: Ranjani Sridharan <[email protected]> Signed-off-by: Pierre-Louis Bossart <[email protected]> Reviewed-by: Kai Vehmanen <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Mark Brown <[email protected]>
Diffstat (limited to 'lib/netdev-notifier-error-inject.c')
0 files changed, 0 insertions, 0 deletions