Skip to contentSkip to conversation

Overflow in w9968cf driver (kernel 2.6.2-rc1)

PATCH Jean Delvare 1 participant 1 message Jan 23, 2004 USB

lore
Share & tools
lore
#0 lore 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).

drivers/usb/media/w9968cf.c renamed from drivers/usb/media/w9968cf.c.orig +1 -1
@@ -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);
Signature · 2 lines
Jean Delvare
http://www.ensicaen.ismra.fr/~delvare/