sound: oss: off by one bug
authorDan Carpenter <error27@gmail.com>
Sun, 3 Jan 2010 11:39:27 +0000 (12:39 +0100)
committerJaroslav Kysela <perex@perex.cz>
Fri, 8 Jan 2010 08:17:51 +0000 (09:17 +0100)
The problem is that in the original code sound_nblocks could go up to 1024
which would be an array overflow.

This was found with a static checker and has been compile tested only.

Signed-off-by: Dan Carpenter <error27@gmail.com>
Signed-off-by: Jaroslav Kysela <perex@perex.cz>

No differences found