From: Adrian Bunk <bunk@kernel.org>
To: linux-kernel@vger.kernel.org
Subject: [2.6 patch] OSS msnd: fix array overflows
Date: Tue, 1 Jan 2008 15:49:21 +0200 [thread overview]
Message-ID: <20080101134921.GQ2360@does.not.exist> (raw)
This patch fixes array overflows in the OSS msnd driver spotted by the
Coverity checker.
Signed-off-by: Adrian Bunk <bunk@kernel.org>
---
This patch has been sent on:
- 27 Oct 2007
97463a59dfb9ccb915d3b615225c98cb3e310c0a
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;
next reply other threads:[~2008-01-01 13:50 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-01-01 13:49 Adrian Bunk [this message]
2008-01-01 18:43 ` [2.6 patch] OSS msnd: fix array overflows Oliver Pinter (Pintér Olivér)
2008-01-01 23:15 ` Adrian Bunk
-- strict thread matches above, loose matches on Subject: below --
2007-10-27 14:22 Adrian Bunk
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20080101134921.GQ2360@does.not.exist \
--to=bunk@kernel.org \
--cc=linux-kernel@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.