Re: sound/pci/hda/patch_via.c: array overflow

2007-10-22 Thread Takashi Iwai
At Fri, 19 Oct 2007 14:57:09 +0200, Adrian Bunk wrote: > > sound/pci/hda/patch_via.c contains the following code: > > <-- snip --> > > ... > struct via_spec { > ... > hda_nid_t private_dac_nids[4]; > ... ^^^ > }; > ... > static int vt1709_auto_fill_dac_n

sound/pci/hda/patch_via.c: array overflow

2007-10-19 Thread Adrian Bunk
sound/pci/hda/patch_via.c contains the following code: <-- snip --> ... struct via_spec { ... hda_nid_t private_dac_nids[4]; ... ^^^ }; ... static int vt1709_auto_fill_dac_nids(struct via_spec *spec, const struct auto_