Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix null termination for generated marshalling of read-only ref string #59726

Merged

Conversation

elinor-fung
Copy link
Member

@elinor-fung elinor-fung commented Sep 28, 2021

Not sure how we managed to not hit test failures in runtimelab, but:

  • StringTests.UnicodeStringByRef was failing for Reverse_In because we weren't null terminating
  • SetError_CustomMarshallingSetsError was calling the wrong function

cc @AaronRobinsonMSFT @jkoritzinsky

@jkoritzinsky jkoritzinsky merged commit 27d5e8d into dotnet:feature/use-dllimport-generator Sep 28, 2021
@elinor-fung elinor-fung deleted the fixStringIn branch September 28, 2021 22:11
@ghost ghost locked as resolved and limited conversation to collaborators Nov 3, 2021
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.

2 participants