]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
[PATCH] Fix sb_mixer use before validation
authorEugene Teo <eugene.teo@eugeneteo.net>
Sat, 25 Mar 2006 11:08:07 +0000 (03:08 -0800)
committerLinus Torvalds <torvalds@g5.osdl.org>
Sat, 25 Mar 2006 16:22:59 +0000 (08:22 -0800)
commitfe9bab2df96cec7011773aab272515b9faa9b6c4
tree9e345e83dfd004464d250053f2bb63b9432830bc
parent1f4d4a80fbcb1e09cfb95660bcd2b677ea6d04c1
[PATCH] Fix sb_mixer use before validation

dev should be validated before it is being used as index to array.

Coverity bug #871

Signed-off-by: Eugene Teo <eugene.teo@eugeneteo.net>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
sound/oss/sb_mixer.c