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 activation context generation for conhost #12653

Merged
1 commit merged into from
Mar 10, 2022
Merged

Conversation

lhecker
Copy link
Member

@lhecker lhecker commented Mar 9, 2022

This regressed in 2b202ce, which removed ACTCTX_FLAG_RESOURCE_NAME_VALID
during CreateActCtxW under the assumption that an executable only has
one manifest. conhost has two however and we need to pick the correct one.

On OpenConsole this causes the expected ERROR_SXS_PROCESS_DEFAULT_ALREADY_SET.

Closes MSFT:38355907

@lhecker lhecker requested review from DHowett and miniksa March 9, 2022 23:10
@DHowett DHowett added Work-Item It's being tracked by an actual work item internally. (to be removed soon) and removed Work-Item It's being tracked by an actual work item internally. (to be removed soon) labels Mar 10, 2022
@lhecker lhecker added Issue-Bug It either shouldn't be doing this or needs an investigation. Priority-0 Bugs that we consider release-blocking/recall-class (P0) Product-Conhost For issues in the Console codebase labels Mar 10, 2022
@zadjii-msft zadjii-msft added zPreview-Service-Queued-1.13 A floating label that tracks the current Preview version for servicing purposes. AutoMerge Marked for automatic merge by the bot when requirements are met labels Mar 10, 2022
@ghost
Copy link

ghost commented Mar 10, 2022

Hello @zadjii-msft!

Because this pull request has the AutoMerge label, I will be glad to assist with helping to merge this pull request once all check-in policies pass.

p.s. you can customize the way I help with merging this pull request, such as holding this pull request until a specific person approves. Simply @mention me (@msftbot) and give me an instruction to get started! Learn more here.

@ghost ghost merged commit c820af4 into main Mar 10, 2022
@ghost ghost deleted the dev/lhecker/msft-38355907 branch March 10, 2022 12:27
DHowett pushed a commit that referenced this pull request Mar 10, 2022
This regressed in 2b202ce, which removed `ACTCTX_FLAG_RESOURCE_NAME_VALID`
during `CreateActCtxW` under the assumption that an executable only has
one manifest. conhost has two however and we need to pick the correct one.

On OpenConsole this causes the expected `ERROR_SXS_PROCESS_DEFAULT_ALREADY_SET`.

Closes MSFT:38355907

(cherry picked from commit c820af4)
DHowett pushed a commit that referenced this pull request Mar 24, 2022
This regressed in 2b202ce, which removed `ACTCTX_FLAG_RESOURCE_NAME_VALID`
during `CreateActCtxW` under the assumption that an executable only has
one manifest. conhost has two however and we need to pick the correct one.

On OpenConsole this causes the expected `ERROR_SXS_PROCESS_DEFAULT_ALREADY_SET`.

Closes MSFT:38355907

(cherry picked from commit c820af4)
This pull request was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
AutoMerge Marked for automatic merge by the bot when requirements are met Issue-Bug It either shouldn't be doing this or needs an investigation. Priority-0 Bugs that we consider release-blocking/recall-class (P0) Product-Conhost For issues in the Console codebase zPreview-Service-Queued-1.13 A floating label that tracks the current Preview version for servicing purposes.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants