diff options
author | Dan Carpenter <error27@gmail.com> | 2010-01-03 12:39:27 +0100 |
---|---|---|
committer | Jaroslav Kysela <perex@perex.cz> | 2010-01-08 09:17:51 +0100 |
commit | 444c1953d496d272208902ff7010dc70d1f887f0 (patch) | |
tree | 40aa1e10f108818b3b7d12384229c0501aeb5a12 /sound/soc/codecs/wm8510.c | |
parent | 440b004cf953bec2bc8cd91c64ae707fd7e25327 (diff) | |
download | op-kernel-dev-444c1953d496d272208902ff7010dc70d1f887f0.zip op-kernel-dev-444c1953d496d272208902ff7010dc70d1f887f0.tar.gz |
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/wm8510.c')
0 files changed, 0 insertions, 0 deletions