diff options
author | Jonathan Curran <jonathan@curran.in> | 2016-02-09 16:40:14 +0000 |
---|---|---|
committer | Natanael Copa <ncopa@alpinelinux.org> | 2016-02-09 20:38:51 +0000 |
commit | 82f98d3450b94406d57ec96f85e728d3c81f20af (patch) | |
tree | 054aaf4d21460551f55063f07f471a5dc85a5971 /testing/mono/strncat-process-c.patch | |
parent | f73c9f1bd8a74dcf635a3fb720f72ebd9ef29c64 (diff) | |
download | aports-82f98d3450b94406d57ec96f85e728d3c81f20af.tar.bz2 aports-82f98d3450b94406d57ec96f85e728d3c81f20af.tar.xz |
testing/mono: upgrade to v4.2.2.30
http://www.mono-project.com/
Included fixes come from openSUSE mono factory
Diffstat (limited to 'testing/mono/strncat-process-c.patch')
-rw-r--r-- | testing/mono/strncat-process-c.patch | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/testing/mono/strncat-process-c.patch b/testing/mono/strncat-process-c.patch new file mode 100644 index 0000000000..b80fb30d85 --- /dev/null +++ b/testing/mono/strncat-process-c.patch @@ -0,0 +1,11 @@ +--- ./mono/metadata/process.c 2015-08-26 12:42:25.000000000 +0300 ++++ ./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. + */ |