[interp] Fix buffer overreads and overwrites found by valgrind. (mono/mono#16726)
authorJay Krell <jaykrell@microsoft.com>
Thu, 12 Sep 2019 00:35:05 +0000 (17:35 -0700)
committerLarry Ewing <lewing@microsoft.com>
Thu, 12 Sep 2019 00:35:05 +0000 (19:35 -0500)
commit48b270afb335c3705e303ea8390e2236d16de8f7
treeb76692e269de7d8723906ed35862a82be7726540
parent0e79e07ed50286b6c0ce7818ff69b0c235357128
[interp] Fix buffer overreads and overwrites found by valgrind. (mono/mono#16726)

* [interp] Fix buffer overreads and overwrites found by valgrind.

* Attempt to deal with inlining correctly.

* PR: Dial back IR changes. Only IL relevant.

* PR: Dial back more -- only needed changes to .NET IL manipulation, not interpreter IR manipulation.

* PR: Remove one more line.

Commit migrated from https://github.com/mono/mono/commit/2235e37470312828bae5c0d2448f1e5ee8e651a8
src/mono/mono/mini/interp/transform.c