From: Adrian Bunk <bunk@kernel.org>
To: "Oliver Pinter (Pintér Olivér)" <oliver.pntr@gmail.com>
Cc: stable@kernel.org, linux-kernel@vger.kernel.org
Subject: Re: [2.6 patch] OSS msnd: fix array overflows
Date: Wed, 2 Jan 2008 01:15:21 +0200 [thread overview]
Message-ID: <20080101231521.GG27566@does.not.exist> (raw)
In-Reply-To: <6101e8c40801011043k209e1db6t1f5877b1c034c865@mail.gmail.com>
On Tue, Jan 01, 2008 at 07:43:23PM +0100, Oliver Pinter (Pintér Olivér) wrote:
> then it is auch to 2.6.22-stable?
That's a very old bug in a driver for ancient hardware, so there's no
need to hurry.
> On 1/1/08, Adrian Bunk <bunk@kernel.org> wrote:
> > 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;
>
> Thanks,
> Oliver
cu
Adrian
--
"Is there not promise of rain?" Ling Tan asked suddenly out
of the darkness. There had been need of rain for many days.
"Only a promise," Lao Er said.
Pearl S. Buck - Dragon Seed
next prev parent reply other threads:[~2008-01-01 23:15 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-01-01 13:49 [2.6 patch] OSS msnd: fix array overflows Adrian Bunk
2008-01-01 18:43 ` Oliver Pinter (Pintér Olivér)
2008-01-01 23:15 ` Adrian Bunk [this message]
-- 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=20080101231521.GG27566@does.not.exist \
--to=bunk@kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=oliver.pntr@gmail.com \
--cc=stable@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.