OSS msnd: fix array overflows
authorAdrian Bunk <bunk@kernel.org>
Mon, 14 Jan 2008 08:55:25 +0000 (00:55 -0800)
committerLinus Torvalds <torvalds@woody.linux-foundation.org>
Mon, 14 Jan 2008 16:52:23 +0000 (08:52 -0800)
commitea8e1652c5f4202fa90cfae49f2ca8485423d263
tree5c57a292356ca97eecea7da7bcbf2df876d14380
parentbbde25b1257c169c119601590d011b9b3aaf77f8
OSS msnd: fix array overflows

Fix array overflows in the OSS msnd driver spotted by the Coverity checker.

Signed-off-by: Adrian Bunk <bunk@kernel.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
sound/oss/msnd.h