Blame SOURCES/psmisc-22.20-insufficient-path-len-in-mntinfo.patch

b4be7c
diff -Naur psmisc-22.20.orig/src/fuser.c psmisc-22.20/src/fuser.c
b4be7c
--- psmisc-22.20.orig/src/fuser.c	2012-09-19 12:54:03.000000000 +0200
b4be7c
+++ psmisc-22.20/src/fuser.c	2015-07-31 19:55:14.000000000 +0200
b4be7c
@@ -1900,7 +1900,7 @@
b4be7c
 
b4be7c
 static void init_mntinfo(void)
b4be7c
 {
b4be7c
-	char mpoint[PATH_MAX + 1];
b4be7c
+	char mpoint[PATH_MAX*4 + 1]; // octal escaping takes 4 chars per 1 char
b4be7c
 	int mid, parid, max = 0;
b4be7c
 	uint maj, min;
b4be7c
 	list_t sort;