summaryrefslogtreecommitdiffstats
path: root/sound/soc/codecs/tlv320dac33.c
diff options
context:
space:
mode:
authorDan Carpenter <error27@gmail.com>2010-04-06 18:31:26 +0200
committerTakashi Iwai <tiwai@suse.de>2010-04-06 18:52:39 +0200
commitb0cc58a25d04160d39a80e436847eaa2fbc5aa09 (patch)
treea20f259f6d2081e40ac979db8daad6b71ff7342c /sound/soc/codecs/tlv320dac33.c
parentALSA: echoaudio - Eliminate use after free (diff)
downloadlinux-b0cc58a25d04160d39a80e436847eaa2fbc5aa09.tar.xz
linux-b0cc58a25d04160d39a80e436847eaa2fbc5aa09.zip
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>
Diffstat (limited to 'sound/soc/codecs/tlv320dac33.c')
0 files changed, 0 insertions, 0 deletions