public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH] 2.5.56 sound/oss/sb_mixer.c bounds check
@ 2003-01-15  3:13 ryan
  2003-01-15  3:30 ` Andrew Morton
  0 siblings, 1 reply; 8+ messages in thread
From: ryan @ 2003-01-15  3:13 UTC (permalink / raw)
  To: linux-kernel

diff -urN a/sound/oss/sb_mixer.c b/sound/oss/sb_mixer.c
--- a/sound/oss/sb_mixer.c      Fri Jan 10 15:11:27 2003
+++ b/sound/oss/sb_mixer.c      Tue Jan 14 22:06:20 2003
@@ -333,6 +333,9 @@
                         break;

                 default:
+                       /* bounds check */
+                       if (dev >= sizeof(smw_mix_regs))
+                               return -EINVAL;
                         reg = smw_mix_regs[dev];
                         if (reg == 0)
                                 return -EINVAL;


^ permalink raw reply	[flat|nested] 8+ messages in thread
* RE: [PATCH] 2.5.56 sound/oss/sb_mixer.c bounds check
@ 2003-01-15  5:05 Perez-Gonzalez, Inaky
  0 siblings, 0 replies; 8+ messages in thread
From: Perez-Gonzalez, Inaky @ 2003-01-15  5:05 UTC (permalink / raw)
  To: 'Andrew Morton', ryan; +Cc: linux-kernel


> Oh let me rant. You're using mozilla.  I just raised a bug 
> against its cute habit of
> mangling outgoing text.  I've just spent four days trying to 
> find a workable Linux
> email client (sophisticated UI, sophisticated IMAP support, 
> sophisticated searching,
> doesn't mangle incoming or outgoing messages) and have 
> failed.

I was always very happy with VM under Emacs; it did all I wanted to do, and
when not, I could code out some hacks to have it ...

Inaky Perez-Gonzalez -- Not speaking for Intel - opinions are my own [or my
fault]


^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2003-01-15  6:35 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2003-01-15  3:13 [PATCH] 2.5.56 sound/oss/sb_mixer.c bounds check ryan
2003-01-15  3:30 ` Andrew Morton
2003-01-15  4:21   ` ryan
2003-01-15  4:36     ` Andrew Morton
2003-01-15  5:34       ` (OT) " Bruce Harada
2003-01-15  6:44         ` Andrew Morton
2003-01-15  4:37   ` ryan
  -- strict thread matches above, loose matches on Subject: below --
2003-01-15  5:05 Perez-Gonzalez, Inaky

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox