linux/sound/pci/mixart
Dan Carpenter b0cc58a25d ALSA: mixart: range checking proc file
The original code doesn't take into consideration that the value of
MIXART_BA0_SIZE - pos can be less than zero which would lead to a large
unsigned value for "count".

Also I moved the check that read size is a multiple of 4 bytes below
the code that adjusts "count".

Signed-off-by: Dan Carpenter <error27@gmail.com>
Cc: <stable@kernel.org>
Acked-by: Linus Torvalds <torvalds@linux-foundation.org>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
2010-04-06 18:52:39 +02:00
..
Makefile
mixart_core.c ALSA: hda - Convert from takslet_hi_schedule() to tasklet_schedule() 2008-12-18 12:17:55 +01:00
mixart_core.h
mixart_hwdep.c Merge branch 'topic/misc' into for-linus 2009-03-24 00:35:50 +01:00
mixart_hwdep.h
mixart_mixer.c ALSA: Kill snd_assert() in sound/pci/* 2008-08-13 11:46:38 +02:00
mixart_mixer.h
mixart.c ALSA: mixart: range checking proc file 2010-04-06 18:52:39 +02:00
mixart.h