mirror of
https://github.com/adulau/aha.git
synced 2024-12-28 03:36:19 +00:00
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>
This commit is contained in:
parent
bbde25b125
commit
ea8e1652c5
1 changed files with 2 additions and 2 deletions
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue