mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* Overflow in w9968cf driver (kernel 2.6.2-rc1)
@ 2004-01-23 19:57 Jean Delvare
  0 siblings, 0 replies; only message in thread
From: Jean Delvare @ 2004-01-23 19:57 UTC (permalink / raw)
  To: Luca Risolia; +Cc: LKML

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/

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2004-01-23 19:57 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2004-01-23 19:57 Overflow in w9968cf driver (kernel 2.6.2-rc1) Jean Delvare

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