File profiler-aot-parse_args-fix.patch of Package mono-core

diff -uprN mono-5.10.0.160.old/mono/profiler/aot.c mono-5.10.0.160/mono/profiler/aot.c
--- mono-5.10.0.160.old/mono/profiler/aot.c	2018-03-07 10:46:36.000000000 +0300
+++ mono-5.10.0.160/mono/profiler/aot.c	2018-03-12 02:25:51.857765220 +0300
@@ -108,7 +108,8 @@ parse_args (const char *desc)
 	const char *p;
 	gboolean in_quotes = FALSE;
 	char quote_char = '\0';
-	char *buffer = malloc (strlen (desc));
+	char buffer[strlen (desc)];
+	memset (buffer, 0, strlen (desc));
 	int buffer_pos = 0;
 
 	for (p = desc; *p; p++){
@@ -154,7 +155,6 @@ parse_args (const char *desc)
 		parse_arg (buffer);
 	}
 
-	g_free (buffer);
 }
 
 void