Skip to content

[release/8.0] Fix usage of load library - #91490

Merged
jkotas merged 3 commits into
release/8.0from
backport/pr-91483-to-release/8.0
Sep 5, 2023
Merged

[release/8.0] Fix usage of load library#91490
jkotas merged 3 commits into
release/8.0from
backport/pr-91483-to-release/8.0

Conversation

@github-actions

@github-actionsgithub-actionsBot commented Sep 2, 2023

Copy link
Copy Markdown
Contributor

Backport of #91483 to release/8.0

/cc @AaronRobinsonMSFT

Customer Impact

This usage violates API tenets for dotnet.

Testing

Validated with diagnostics tests.

Risk

Low. This use of LoadLibraryW() is only passed a full path anyways so the update to LoadLibraryExW() passed LOAD_WITH_ALTERED_SEARCH_PATH.

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.

@ghost

ghost commented Sep 2, 2023

Copy link
Copy Markdown

Tagging subscribers to this area: @tommcdon
See info in area-owners.md if you want to be subscribed.

Issue Details

Backport of #91483 to release/8.0

/cc @AaronRobinsonMSFT

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-Diagnostics-coreclr

Milestone:-

@AaronRobinsonMSFTAaronRobinsonMSFT added this to the 8.0.0 milestone Sep 2, 2023
@AaronRobinsonMSFTAaronRobinsonMSFT added the Servicing-consider Issue for next servicing release review label Sep 2, 2023

@jeffschwMSFTjeffschwMSFT left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

approved. please get a code review. once ready this can be merged

@jeffschwMSFTjeffschwMSFT added Servicing-approved Approved for servicing release and removed Servicing-consider Issue for next servicing release review labels Sep 2, 2023
@AaronRobinsonMSFT

AaronRobinsonMSFT commented Sep 2, 2023

Copy link
Copy Markdown
Member

@jeffschwMSFT or @jkotas or @carlossanlop CI is green and has been signed off. Please merge when convenient.

@jkotas
jkotas merged commit 0cb73b1 into release/8.0Sep 5, 2023
@jkotas
jkotas deleted the backport/pr-91483-to-release/8.0 branch September 5, 2023 01:01
@radicalradical mentioned this pull request Sep 26, 2023
@radicalradical mentioned this pull request Oct 3, 2023
@ghostghost locked as resolved and limited conversation to collaborators Oct 5, 2023
Sign up for freeto subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

area-Diagnostics-coreclrServicing-approvedApproved for servicing release

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants

@AaronRobinsonMSFT@jeffschwMSFT@mikem8361@jkotas