Skip to content
This repository has been archived by the owner on Jan 23, 2023. It is now read-only.

Port .NET 5 fix for reverse P/Invoke marshalling of structs. #28117

Closed

Conversation

AaronRobinsonMSFT
Copy link
Member

@AaronRobinsonMSFT AaronRobinsonMSFT commented Jan 7, 2021

Fixes dotnet/runtime#45637

.NET 5 PR dotnet/runtime#32034. This fix represents a minor and supported change in the mentioned PR.

Customer impact

Customer reported issue dotnet/runtime#45637.

Regression?

Yes, introduced in 3.0 with the reconciling of marshalling logic.

Testing

I have verified the user's scenario. This fix has been in .NET 5 for about a year and doesn't exhibit the failing behavior.

Risk

Medium. This area is sensitive and even though the code has been in .NET 5 there is a possible culmination of other non-obvious changes that could be missing - this is speculation based on experience in the marshalling area. @jkoritzinsky or @davidwrighton may be able to provide a more accurate risk assessment.

/cc @jkoritzinsky @davidwrighton @elinor-fung

@AaronRobinsonMSFT AaronRobinsonMSFT added the Servicing-consider Issue for next servicing release review label Jan 7, 2021
@AaronRobinsonMSFT AaronRobinsonMSFT marked this pull request as ready for review January 7, 2021 04:59
@jeffschwMSFT jeffschwMSFT removed the Servicing-consider Issue for next servicing release review label Jan 7, 2021
@jeffschwMSFT jeffschwMSFT added this to the 3.1.x milestone Jan 7, 2021
@AaronRobinsonMSFT
Copy link
Member Author

Closing due to no direct customer impact at present.

@AaronRobinsonMSFT AaronRobinsonMSFT deleted the runtime45637 branch January 7, 2021 20:06
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants