diff options
author | Adrian Bunk <bunk@kernel.org> | 2008-01-14 00:55:25 -0800 |
---|---|---|
committer | Linus Torvalds <torvalds@woody.linux-foundation.org> | 2008-01-14 08:52:23 -0800 |
commit | ea8e1652c5f4202fa90cfae49f2ca8485423d263 (patch) | |
tree | 5c57a292356ca97eecea7da7bcbf2df876d14380 /sound/oss | |
parent | bbde25b1257c169c119601590d011b9b3aaf77f8 (diff) | |
download | kernel_samsung_espresso10-ea8e1652c5f4202fa90cfae49f2ca8485423d263.zip kernel_samsung_espresso10-ea8e1652c5f4202fa90cfae49f2ca8485423d263.tar.gz kernel_samsung_espresso10-ea8e1652c5f4202fa90cfae49f2ca8485423d263.tar.bz2 |
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>
Diffstat (limited to 'sound/oss')
-rw-r--r-- | sound/oss/msnd.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sound/oss/msnd.h b/sound/oss/msnd.h index 05cf786..d0ca582 100644 --- a/sound/oss/msnd.h +++ b/sound/oss/msnd.h @@ -233,8 +233,8 @@ typedef struct multisound_dev { spinlock_t lock; int nresets; unsigned long recsrc; - int left_levels[16]; - int right_levels[16]; + int left_levels[32]; + int right_levels[32]; int mixer_mod_count; int calibrate_signal; int play_sample_size, play_sample_rate, play_channels; |