ALSA: hda: Abort capability probe on invalid capability
authorRakesh Ughreja <rakesh.a.ughreja@intel.com>
Tue, 24 Oct 2017 12:56:47 +0000 (18:26 +0530)
committerTakashi Iwai <tiwai@suse.de>
Tue, 24 Oct 2017 06:13:55 +0000 (08:13 +0200)
commitb676da70c495acb2515de76300596e9147806ead
tree2c5707619daeed3fac126c478b138433e6781307
parent9780ded39bef5d22a84bdc39112df93f70a58bdd
ALSA: hda: Abort capability probe on invalid capability

On reading wrong capability pointer values driver may crash, so whenever
driver discovers unknown HDA capability, log it as error and stop traversing
the link list further.

Signed-off-by: Rakesh Ughreja <rakesh.a.ughreja@intel.com>
Acked-by: Vinod Koul <vinod.koul@intel.com>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
sound/hda/hdac_controller.c