forked from pool/mono-core
80cd59e789
accidentally submitted a pre-release tarball OBS-URL: https://build.opensuse.org/request/show/393232 OBS-URL: https://build.opensuse.org/package/show/Mono:Factory/mono-core?expand=0&rev=167
13 lines
576 B
Diff
13 lines
576 B
Diff
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.
|
|
*/
|