]> git.baikalelectronics.ru Git - kernel.git/commit
ALSA: hda - using uninitialized data
authorDan Carpenter <dan.carpenter@oracle.com>
Wed, 26 Nov 2014 22:34:43 +0000 (01:34 +0300)
committerTakashi Iwai <tiwai@suse.de>
Thu, 27 Nov 2014 08:34:41 +0000 (09:34 +0100)
commit18a4f6b7d6aa14ad084c29391193306e71c88a33
treea64f2fe22e666d788d268274f256bdd350f26355
parent9e1c1253480fa18a6638932ee5377b361b8f5370
ALSA: hda - using uninitialized data

In olden times the snd_hda_param_read() function always set "*start_id"
but in 2007 we introduced a new return and it causes uninitialized data
bugs in a couple of the callers: print_codec_info() and
hdmi_parse_codec().

Fixes: 581e5c311bcd ('[ALSA] hda-intel - Improve HD-audio codec probing robustness')
Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
sound/pci/hda/hda_codec.c