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/8.0-rc2] Make HostModel PEUtils always read/write little endian #92441

Merged
merged 2 commits into from
Sep 22, 2023

Conversation

github-actions[bot]
Copy link
Contributor

@github-actions github-actions bot commented Sep 21, 2023

Backport of #92392 to release/8.0-rc2
Fixes #92344

/cc @elinor-fung

Customer Impact

Functions used for creating an apphost did not properly handle endianness. This results in a failure on non-little-endian systems to install tools (see #92344) or cross-build Windows GUI application. This was a regression in RC1.

Testing

Updated tests to explicitly call one of the problematic functions (issue would still only have manifested when run on non-little-endian system). Manual.

Risk

Low. The fix maintains the existing logic while adding checks for endianness in four places.

@dotnet-issue-labeler dotnet-issue-labeler bot added the area-HostModel Microsoft.NET.HostModel issues label Sep 21, 2023
@ghost
Copy link

ghost commented Sep 21, 2023

Tagging subscribers to this area: @vitek-karas, @agocke
See info in area-owners.md if you want to be subscribed.

Issue Details

Backport of #92392 to release/8.0-rc2

/cc @elinor-fung

Customer Impact

Testing

Risk

IMPORTANT: If this backport is for a servicing release, please verify that:

  • The PR target branch is release/X.0-staging, not release/X.0.

  • If the change touches code that ships in a NuGet package, you have added the necessary package authoring and gotten it explicitly reviewed.

Author: github-actions[bot]
Assignees: -
Labels:

area-HostModel

Milestone: -

@elinor-fung elinor-fung added this to the 8.0.0 milestone Sep 21, 2023
@elinor-fung elinor-fung added the Servicing-consider Issue for next servicing release review label Sep 21, 2023
Copy link
Member

@jeffschwMSFT jeffschwMSFT left a comment

Choose a reason for hiding this comment

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

approved. we can take for consideration in RC2

@elinor-fung
Copy link
Member

Approved by Tactics via e-mail.

@elinor-fung elinor-fung added Servicing-approved Approved for servicing release and removed Servicing-consider Issue for next servicing release review labels Sep 22, 2023
@carlossanlop carlossanlop merged commit 40ccd8b into release/8.0-rc2 Sep 22, 2023
87 of 96 checks passed
@carlossanlop carlossanlop deleted the backport/pr-92392-to-release/8.0-rc2 branch September 22, 2023 03:20
@radical radical mentioned this pull request Sep 26, 2023
@ghost ghost locked as resolved and limited conversation to collaborators Oct 22, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
area-HostModel Microsoft.NET.HostModel issues Servicing-approved Approved for servicing release
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants