Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit ea8e1652 authored by Adrian Bunk's avatar Adrian Bunk Committed by Linus Torvalds
Browse files

OSS msnd: fix array overflows



Fix array overflows in the OSS msnd driver spotted by the Coverity checker.

Signed-off-by: default avatarAdrian Bunk <bunk@kernel.org>
Signed-off-by: default avatarAndrew Morton <akpm@linux-foundation.org>
Signed-off-by: default avatarLinus Torvalds <torvalds@linux-foundation.org>
parent bbde25b1
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -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;