Fix stack corruption when using nullable types in dyncall.
commit6d0af3c44dd322700ce6f3240bd80f4d9a0f2b7d
authorlateralusX <lateralusx.github@gmail.com>
Fri, 23 Nov 2018 14:15:23 +0000 (23 15:15 +0100)
committerlateralusX <lateralusx.github@gmail.com>
Mon, 26 Nov 2018 16:22:50 +0000 (26 17:22 +0100)
tree1cf103ce3b3d27543c4e9777760972309bfae1d9
parent536cd702ed334f7f3e930451ee9ef743e6c3a76f
Fix stack corruption when using nullable types in dyncall.

Incorrect calculation of start of nullable buffer caused stack corruption.
Currently this was only identified on Windows x64 due to use of alternative
ABI register storage types. Fix resolves crash in test_0_dyncall_nullable.
mono/mini/mini-amd64.c