Sophie

Sophie

distrib > Mandriva > current > i586 > media > contrib-release-src > by-pkgid > 9b19196514d6aa0d1d802274c3abf2f5 > files > 2

Mowitz-0.3.0-8mdv2008.1.src.rpm

--- Mowitz/MwFilesel.c~	2003-01-16 21:31:13.000000000 +0100
+++ Mowitz/MwFilesel.c	2007-08-26 09:59:58.000000000 +0200
@@ -690,7 +690,7 @@
 	String string;
 	XtAppContext app_context = XtWidgetToApplicationContext(pw);
 	int i;
-	char newpath[1024];
+	char newpath[PATH_MAX];
 
 	if (!realpath(path, newpath))
 		getcwd(newpath, sizeof newpath);