kernel-fxtec-pro1x/sound/atmel
Takashi Iwai e4de211cd3 ALSA: atmel: Fix possible array overflow
The static checker found a possible array overflow in atmel/abdac.c:
  static checker warning: "sound/atmel/abdac.c:373 set_sample_rates()
        error: buffer overflow 'dac->rates' 6 <= 6"

This patch papers over the buggy point, by ensuring that dac->rates[]
update not overflowing the actual array size.

Reported-by: Dan Carpenter <dan.carpenter@oracle.com>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
2013-12-02 15:10:41 +01:00
..
abdac.c ALSA: atmel: Fix possible array overflow 2013-12-02 15:10:41 +01:00
ac97c.c ALSA: atmel: remove dependency on <mach/gpio.h> 2013-11-05 13:43:25 +01:00
ac97c.h ALSA: snd-atmel-ac97c: cleanup register definitions 2009-04-06 03:54:48 +02:00
Kconfig ALSA: AC97: add AC97 support for AT91. 2010-03-25 20:22:15 +01:00
Makefile