diff options
author | Dan Carpenter <error27@gmail.com> | 2010-01-03 06:39:27 -0500 |
---|---|---|
committer | Jaroslav Kysela <perex@perex.cz> | 2010-01-08 03:17:51 -0500 |
commit | 444c1953d496d272208902ff7010dc70d1f887f0 (patch) | |
tree | 40aa1e10f108818b3b7d12384229c0501aeb5a12 /sound/soc/codecs/stac9766.c | |
parent | 440b004cf953bec2bc8cd91c64ae707fd7e25327 (diff) |
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: Dan Carpenter <error27@gmail.com>
Signed-off-by: Jaroslav Kysela <perex@perex.cz>
Diffstat (limited to 'sound/soc/codecs/stac9766.c')
0 files changed, 0 insertions, 0 deletions