]> git.hungrycats.org Git - linux/commitdiff
[PATCH] Array overindexing in w9968cf
authorAndrew Morton <akpm@osdl.org>
Sat, 24 Jan 2004 03:36:23 +0000 (19:36 -0800)
committerLinus Torvalds <torvalds@home.osdl.org>
Sat, 24 Jan 2004 03:36:23 +0000 (19:36 -0800)
From: Jean Delvare <khali@linux-fr.org>

There are 24 members of this array.

drivers/usb/media/w9968cf.c

index a89a6e65ae8088ff730278e893bc83c26bdfd281..af5ba2d2ea414084e73cbfc7ca1b1cc11f5a514e 100644 (file)
@@ -98,7 +98,7 @@ static unsigned short debug = W9968CF_DEBUG_LEVEL;
 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);