mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: "Oliver Pinter (Pintér Olivér)" <oliver.pntr@gmail.com>
To: "Adrian Bunk" <bunk@kernel.org>, stable@kernel.org
Cc: linux-kernel@vger.kernel.org
Subject: Re: [2.6 patch] OSS msnd: fix array overflows
Date: Tue, 1 Jan 2008 19:43:23 +0100	[thread overview]
Message-ID: <6101e8c40801011043k209e1db6t1f5877b1c034c865@mail.gmail.com> (raw)
In-Reply-To: <20080101134921.GQ2360@does.not.exist>

then it is auch to 2.6.22-stable?

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;
>
> --
> To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at  http://vger.kernel.org/majordomo-info.html
> Please read the FAQ at  http://www.tux.org/lkml/
>


-- 
Thanks,
Oliver

  reply	other threads:[~2008-01-01 18:43 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-01-01 13:49 Adrian Bunk
2008-01-01 18:43 ` Oliver Pinter (Pintér Olivér) [this message]
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=6101e8c40801011043k209e1db6t1f5877b1c034c865@mail.gmail.com \
    --to=oliver.pntr@gmail.com \
    --cc=bunk@kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®