Merge pull request #2754 from markusbeth/fix-mono-config
authormonojenkins <jo.shields+jenkins@xamarin.com>
Mon, 14 Mar 2016 04:35:14 +0000 (04:35 +0000)
committermonojenkins <jo.shields+jenkins@xamarin.com>
Mon, 14 Mar 2016 04:35:14 +0000 (04:35 +0000)
commit598062953a1ab9311f0562317cc93aeac120bc15
tree8a32964c5a2a31e6519030f6e10dbd93f0830f52
parentd231e5bd6228e84f3c81e7eff0c55dfceb8345ab
parentc7ccd6ef310f09eefee44ae9722f6a15a75ad25b
Merge pull request #2754 from markusbeth/fix-mono-config

fixed replacement of $mono_libdir in config file

strncpy does not NUL-terminate the destination string in this case so one cannot use strcat to append

This fixes the error "malloc: top chunk is corrupt" as reported on mono-devel-list back in 2015-10-20 (subject: "malloc error executing OBS-built mono") at least for me.
mono/metadata/assembly.c