Revision 57220bc1f5924c869d8fc049e50169915ca0cb24 authored by Dan Carpenter on 15 March 2013, 06:14:22 UTC, committed by Takashi Iwai on 15 March 2013, 06:45:20 UTC
"chn" here is a number between 0 and 255, but ->chn_info[] only has 16 elements so there is a potential write beyond the end of the array. If the seq_mode isn't SEQ_2 then we let the individual drivers (either opl3.c or midi_synth.c) handle it. Those functions all do a bounds check on "chn" so I haven't changed anything here. The opl3.c driver has up to 18 channels and not 16. Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com> Signed-off-by: Takashi Iwai <tiwai@suse.de>
1 parent b714a71
File | Mode | Size |
---|---|---|
Kconfig | -rw-r--r-- | 867 bytes |
Makefile | -rw-r--r-- | 423 bytes |
aaci.c | -rw-r--r-- | 24.9 KB |
aaci.h | -rw-r--r-- | 6.9 KB |
pxa2xx-ac97-lib.c | -rw-r--r-- | 9.0 KB |
pxa2xx-ac97.c | -rw-r--r-- | 6.3 KB |
pxa2xx-pcm-lib.c | -rw-r--r-- | 7.3 KB |
pxa2xx-pcm.c | -rw-r--r-- | 3.1 KB |
pxa2xx-pcm.h | -rw-r--r-- | 899 bytes |
![swh spinner](/static/img/swh-spinner.gif)
Computing file changes ...