]> 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)
commitf7635d065dd1990acad1ca43b55de3f11cceebf6
tree52d2e7066f146a4e642c4b15fadeae3fc728295f
parent9f129be2de06da18095515de3bbc48ae9f97d49c
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