From: Jean Delvare <khali@linux-fr.org>
To: Luca Risolia <luca.risolia@studio.unibo.it>
Cc: LKML <linux-kernel@vger.kernel.org>
Subject: Overflow in w9968cf driver (kernel 2.6.2-rc1)
Date: Fri, 23 Jan 2004 20:57:15 +0100 [thread overview]
Message-ID: <20040123205715.4cc1fba4.khali@linux-fr.org> (raw)
Hi Luca, hi list,
I think I've found a possible overflow in w9968cf.c (kernel 2.6.2-rc1).
Proposed fix follows (also fixes a typo).
--- linux-2.6.2-rc1/drivers/usb/media/w9968cf.c.orig 2004-01-23 11:28:56 +0100
+++ linux-2.6.2-rc1/drivers/usb/media/w9968cf.c 2004-01-23 13:47:44 +0100
@@ -98,7 +98,7 @@
static int specific_debug = W9968CF_SPECIFIC_DEBUG;
#endif
-static unsigned int param_nv[23]; /* number of values per paramater */
+static unsigned int param_nv[24]; /* number of values per parameter */
module_param(vppmod_load, bool, 0444);
module_param(simcams, ushort, 0444);
--
Jean Delvare
http://www.ensicaen.ismra.fr/~delvare/
reply other threads:[~2004-01-23 19:57 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
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=20040123205715.4cc1fba4.khali@linux-fr.org \
--to=khali@linux-fr.org \
--cc=linux-kernel@vger.kernel.org \
--cc=luca.risolia@studio.unibo.it \
/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
Powered by JetHome