[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Overflow in w9968cf driver (kernel 2.6.2-rc1)


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/
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo _at_ vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/


この情報があなたの探していたものかどうか選択してください。
yes/まさにこれだ!   no/違うなぁ   part/一部見つかった   try/これで試してみる

あなたが探していた情報はどのようなことか、ご自由に記入下さい。特に「まさにこれだ!」と言う場合は記入をお願いします。
例:「複数のマシンからCATV経由でipmasqueradeを利用してWebを参照したい場合の設定について」