]> git.baikalelectronics.ru Git - kernel.git/commit
ALSA: hda - Fix possible NULL dereference in snd_hda_get_pin_label()
authorTakashi Iwai <tiwai@suse.de>
Mon, 28 Oct 2013 10:39:23 +0000 (11:39 +0100)
committerTakashi Iwai <tiwai@suse.de>
Tue, 29 Oct 2013 10:37:19 +0000 (11:37 +0100)
commit723ab87478b5d2837baa2d2d9e7c8705317a573b
tree52d2e7066f146a4e642c4b15fadeae3fc728295f
parent1cfbe9cfcc37e9b030eccbb417e5235f4d511f75
ALSA: hda - Fix possible NULL dereference in snd_hda_get_pin_label()

Fix a possible NULL access of indexp in fill_audio_out_name() called
from snd_hda_get_pin_label().

Spotted by coverity CID 402035.

Signed-off-by: Takashi Iwai <tiwai@suse.de>
sound/pci/hda/hda_auto_parser.c