[PATCH] /proc/ide/via oops

From: Bartlomiej Zolnierkiewicz (dake@staszic.waw.pl)
Date: Thu Jun 01 2000 - 18:59:00 EST


This is small fix for subject. Alan please apply.

I checked other drivers for this vulnerability. But only sis5513.c
(fixed by Tim) and via82cxxx.c (fixed now) seems to be affected.

--
Bartlomiej Zolnierkiewicz <bkz>

diff -u linux.240t1ac7/drivers/ide/via82cxxx.c linux/drivers/ide/via82cxxx.c --- linux.240t1ac7/drivers/ide/via82cxxx.c Fri Jun 2 01:48:56 2000 +++ linux/drivers/ide/via82cxxx.c Fri Jun 2 01:50:17 2000 @@ -249,14 +249,14 @@ #include <linux/stat.h> #include <linux/proc_fs.h> -static char *FIFO_str[] __initdata = { +static char *FIFO_str[] = { " 1 ", "3/4", "1/2", "1/4" }; -static char *control3_str[] __initdata = { +static char *control3_str[] = { "No limitation", "64", "128",

- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.rutgers.edu Please read the FAQ at http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Wed Jun 07 2000 - 21:00:13 EST