Skip to content
Commit 444c1953 authored by Dan Carpenter's avatar Dan Carpenter Committed by Jaroslav Kysela
Browse files

sound: oss: off by one bug



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: default avatarDan Carpenter <error27@gmail.com>
Signed-off-by: default avatarJaroslav Kysela <perex@perex.cz>
parent 440b004c
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment