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)
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.

1  2 
mono/metadata/assembly.c

Simple merge