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

[release/7.0] Only stack allocate when marshalling Utf8 arguments #74553

Merged
merged 2 commits into from
Aug 25, 2022

Conversation

github-actions[bot]
Copy link
Contributor

@github-actions github-actions bot commented Aug 25, 2022

Backport of #74478 to release/7.0

/cc @MichalStrehovsky

Customer Impact

Marshaling of string fields as UTF-8 causes a memory corruption in NativeAOT.

Testing

Extended NativeAOT smoke tests to cover the scenario. Ran all src/tests/Interop tests.

Risk

Only affects UTF-8 marshalling.

@carlossanlop
Copy link
Member

@jeffschwMSFT can we get an approval?

Copy link
Member

@jkotas jkotas left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM. This is important fix for release/7.0

@carlossanlop
Copy link
Member

@JulieLeeMSFT can we get an approval on Jeff's behalf?

@carlossanlop
Copy link
Member

Approved and signed off. CI green. Ready to merge. :shipit:

@carlossanlop carlossanlop merged commit 06e3761 into release/7.0 Aug 25, 2022
@carlossanlop carlossanlop deleted the backport/pr-74478-to-release/7.0 branch August 25, 2022 19:41
@ghost ghost locked as resolved and limited conversation to collaborators Sep 25, 2022
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.

4 participants