Skip to content

Conversation

@github-actions
Copy link
Contributor

Backport of #64292 to release/10.0

/cc @wtgodbe

Pass /guard:cf to Linker in aspnetcoreCA

Summary of the changes (Less than 80 chars)

Description

{Detail}

Fixes #{bug number} (in this specific format)

Customer Impact

{Justification}

Regression?

  • Yes
  • No

[If yes, specify the version the behavior has regressed from]

Risk

  • High
  • Medium
  • Low

[Justify the selection above]

Verification

  • Manual (required)
  • Automated

Packaging changes reviewed?

  • Yes
  • No
  • N/A

When servicing release/2.3

  • Make necessary changes in eng/PatchConfig.props

@github-actions github-actions bot requested review from a team and wtgodbe as code owners November 10, 2025 18:36
<ModuleDefinitionFile>aspnetcoreCA.def</ModuleDefinitionFile>
<ImportLibrary>$(OutDir)$(TargetName).lib</ImportLibrary>
<AdditionalOptions>/NODEFAULTLIB:MSVCRT %(AdditionalOptions)</AdditionalOptions>
<AdditionalOptions>/NODEFAULTLIB:MSVCRT /guard:cf %(AdditionalOptions)</AdditionalOptions>
Copy link
Member

Choose a reason for hiding this comment

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

Copy link
Member

Choose a reason for hiding this comment

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

That's for ClCompile, the binskim bug advised passing it to both ClCompile & the Linker

@wtgodbe wtgodbe merged commit 32e3e0c into release/10.0 Nov 11, 2025
28 checks passed
@wtgodbe wtgodbe deleted the backport/pr-64292-to-release/10.0 branch November 11, 2025 20:46
@dotnet-policy-service dotnet-policy-service bot added this to the 10.0.0 milestone Nov 11, 2025
@wtgodbe wtgodbe modified the milestones: 10.0.0, 10.0.1 Nov 13, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants