From: Jean Delvare Date: Mon, 5 Feb 2007 12:07:04 +0000 (+0100) Subject: [ALSA] snd-ak4114: Fix two array overflows X-Git-Tag: v2.6.21-rc1~83^2~62^2~10 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=1ab774e049085da6facfaf3b24d54158c3f0f5b3;p=pandora-kernel.git [ALSA] snd-ak4114: Fix two array overflows Fix the handling of the TXCSB registers cache. There was one array overflow in reg_write() and one in snd_ak4114_reg_write(). Thanks to David Binderman for reporting the latter. The second overflow probably doesn't matter much, given that the function snd_ak4114_reg_write() appears to be never called. I wonder why it exists and why it is exported. Signed-off-by: Jean Delvare Signed-off-by: Takashi Iwai Signed-off-by: Jaroslav Kysela --- Reading git-diff-tree failed