[marshal] allocate dummy string always in root domain
authorBernhard Urban <bernhard.urban@xamarin.com>
Wed, 7 Jun 2017 16:28:32 +0000 (18:28 +0200)
committerBernhard Urban <bernhard.urban@xamarin.com>
Fri, 9 Jun 2017 10:49:59 +0000 (12:49 +0200)
commita3e6b2cd8bfdf0f3438e256276b7498c102f6beb
tree3a085af485244a6721535da7ce3bbf1e570173f9
parent8a10c623f3d392388235bec41817a7c42c9672d5
[marshal] allocate dummy string always in root domain

otherwise it can happen that the dummy string is allocated in a
different domain, and when it's onloaded the GC root points to an
invalid object.
mono/metadata/marshal.c