[sgen] Remove unnecessary and wrong IL code on string managed allocators
authorAlexis Christoforides <alexis@thenull.net>
Thu, 24 Mar 2016 14:06:34 +0000 (10:06 -0400)
committerAlexis Christoforides <alexis@thenull.net>
Thu, 14 Apr 2016 20:55:48 +0000 (16:55 -0400)
commit30f0795c825559124fb2d4b46963e7b88dcd3246
tree41fdb36f17651acb0e914b3d20d6dcdcca92842b
parent5e80f625b93706328c9a22b1cbb73300f2ea2186
[sgen] Remove unnecessary and wrong IL code on string managed allocators
This appears to have been copied from Boehm, but here we are not responsible for zeroing.
Also, 's->chars [len]' is not the same as 'align_up (s + size) - 2', so this was corrupting canaries.
mono/metadata/sgen-mono.c