Fix AV in System.StubHelpers.CSTRMarshaler.ConvertFixedToNative (#202)
authorFadi Hanna <fadim@microsoft.com>
Sat, 23 Nov 2019 05:43:36 +0000 (21:43 -0800)
committerGitHub <noreply@github.com>
Sat, 23 Nov 2019 05:43:36 +0000 (21:43 -0800)
commit4bc6819118f4ac686f78e921195094b1fe5a1d4c
tree66199bce458dab9336a98fa57d2dfc0fd2d7edb4
parent75afc580079742b9d9fa5bbba29a79f46e7f1cc4
Fix AV in System.StubHelpers.CSTRMarshaler.ConvertFixedToNative (#202)

* Fix AV in System.StubHelpers.CSTRMarshaler.ConvertFixedToNative

* Add test coverage
src/coreclr/src/System.Private.CoreLib/src/System/StubHelpers.cs
src/coreclr/tests/src/Interop/StructMarshalling/PInvoke/Helper.cs
src/coreclr/tests/src/Interop/StructMarshalling/PInvoke/MarshalStructAsLayoutSeq.cs
src/coreclr/tests/src/Interop/StructMarshalling/PInvoke/MarshalStructAsParamDLL.h
src/coreclr/tests/src/Interop/StructMarshalling/PInvoke/Struct.cs