File strncat-process-c.patch of Package mono-core

diff -uprN mono-4.2.0.old/mono/metadata/process.c mono-4.2.0.new/mono/metadata/process.c
--- mono-4.2.0.old/mono/metadata/process.c	2015-08-26 12:42:25.000000000 +0300
+++ mono-4.2.0.new/mono/metadata/process.c	2015-08-29 15:49:25.369632846 +0300
@@ -380,7 +380,7 @@ static MonoObject* get_process_module (M
 	char filename [80] = "[In Memory] ";
 	const char *modulename = assembly->aname.name;
 
-	strncat (filename, modulename, 80);
+	strncat (filename, modulename, sizeof(filename)-strlen(filename)-1);
 
 	/* Build a System.Diagnostics.ProcessModule with the data.
 	 */