summaryrefslogtreecommitdiff
path: root/sound/pci
diff options
context:
space:
mode:
authorCezary Rojewski <cezary.rojewski@intel.com>2023-10-06 13:28:55 +0300
committerTakashi Iwai <tiwai@suse.de>2023-10-06 15:30:19 +0300
commitf93dc90c2e8ed664985e366aa6459ac83cdab236 (patch)
tree11e8a036185081c80590573f3a7d6eb060005e7d /sound/pci
parentfdfc374af5dc345fbb9686921fa60176c1c41da0 (diff)
downloadlinux-f93dc90c2e8ed664985e366aa6459ac83cdab236.tar.xz
ALSA: hda: Fix possible null-ptr-deref when assigning a stream
While AudioDSP drivers assign streams exclusively of HOST or LINK type, nothing blocks a user to attempt to assign a COUPLED stream. As supplied substream instance may be a stub, what is the case when code-loading, such scenario ends with null-ptr-deref. Signed-off-by: Cezary Rojewski <cezary.rojewski@intel.com> Link: https://lore.kernel.org/r/20231006102857.749143-2-cezary.rojewski@intel.com Signed-off-by: Takashi Iwai <tiwai@suse.de>
Diffstat (limited to 'sound/pci')
0 files changed, 0 insertions, 0 deletions