Skip to content
Snippets Groups Projects
Commit d344e079 authored by Mariusz Ceier's avatar Mariusz Ceier Committed by Takashi Iwai
Browse files

ALSA: hda: Avoid NULL pointer dereference at snd_hdac_stream_start()


For ca0132 codec, azx_dev->stream is NULL during firmware loading.
Calling snd_hdac_get_stream_stripe_ctl unconditionally causes NULL
pointer dereference in that function.

Fixes: 9b6f7e7a ("ALSA: hda: program stripe bits for controller")
Signed-off-by: default avatarMariusz Ceier <mceier+kernel@gmail.com>
Signed-off-by: default avatarTakashi Iwai <tiwai@suse.de>
parent a634090a
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment