2.4.19-pre10, there is still bug in mkdep.c

From: Yaroslav Popovitch (yp@sot.com)
Date: Fri Jun 14 2002 - 08:35:36 EST


Rusty Russell sent a patch which fix PATH_MAX bug, but I checked and
found that patch for mkdep.c was not applied
For more info see:
http://www.cs.helsinki.fi/linux/linux-kernel/2002-02/0242.html

--- linux/scripts/mkdep.c Thu Jun 13 22:01:57 2002
+++ linux/scripts/mkdep.c.mod Fri Jun 14 15:30:56 2002
@@ -218,7 +218,7 @@
 void add_path(const char * name)
 {
        struct path_struct *path;
- char resolved_path[PATH_MAX+1];
+ char resolved_path[PATH_MAX];
        const char *name2;
 
        if (strcmp(name, ".")) {

Cheers,YP

-- 
Mr. Yaroslav Popovitch     			- tel. +372 6419975
SOT Finnish Software Engineering Ltd.   	- fax  +372 6419876
Kreutzwaldi 7-4, 10124  TALLINN         	- http://www.sot.com/
ESTONIA                                 	- http://sotlinux.net/

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



This archive was generated by hypermail 2b29 : Sat Jun 15 2002 - 22:00:31 EST