diff options
author | Adrian Bunk <bunk@kernel.org> | 2008-01-14 09:55:25 +0100 |
---|---|---|
committer | Linus Torvalds <torvalds@woody.linux-foundation.org> | 2008-01-14 17:52:23 +0100 |
commit | ea8e1652c5f4202fa90cfae49f2ca8485423d263 (patch) | |
tree | 5c57a292356ca97eecea7da7bcbf2df876d14380 | |
parent | CRIS v10: driver for ds1302 needs to include cris-specific i2c.h (diff) | |
download | linux-ea8e1652c5f4202fa90cfae49f2ca8485423d263.tar.xz linux-ea8e1652c5f4202fa90cfae49f2ca8485423d263.zip |
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>
-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 05cf7865be5e..d0ca582c4583 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; |