Skip to content

Fix wrong -fsanitizer=address flag in "Walkthrough: Use Address Sanitizer Continue On Error to find memory safety issues"#5723

Merged
v-dirichards merged 2 commits intoMicrosoftDocs:mainfrom
Rageking8:fix-wrong-fsanitizer-address-flag-in-asan-continue-on-error
Jan 27, 2026
Merged

Fix wrong -fsanitizer=address flag in "Walkthrough: Use Address Sanitizer Continue On Error to find memory safety issues"#5723
v-dirichards merged 2 commits intoMicrosoftDocs:mainfrom
Rageking8:fix-wrong-fsanitizer-address-flag-in-asan-continue-on-error

Conversation

@Rageking8
Copy link
Copy Markdown
Contributor

Fix wrong -fsanitizer=address flag (extra "r") and clean up trailing spaces for examples.

…itizer Continue On Error to find memory safety issues"
…tizer Continue On Error to find memory safety issues"
@learn-build-service-prod
Copy link
Copy Markdown
Contributor

Learn Build status updates of commit 9601827:

✅ Validation status: passed

File Status Preview URL Details
docs/sanitizers/asan-continue-on-error.md ✅Succeeded

For more details, please refer to the build report.

@v-regandowner
Copy link
Copy Markdown
Contributor

@TylerMSFT - Can you review the proposed changes?

IMPORTANT: When the changes are ready for publication, adding a #sign-off comment is the best way to signal that the PR is ready for the review team to merge.

#label:"aq-pr-triaged"
@MicrosoftDocs/public-repo-pr-review-team

@prmerger-automator prmerger-automator Bot added the aq-pr-triaged Tracking label for the PR review team label Sep 1, 2025
@v-dirichards v-dirichards self-assigned this Sep 25, 2025
Copy link
Copy Markdown
Collaborator

@TylerMSFT TylerMSFT left a comment

Choose a reason for hiding this comment

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

Impressive catch on the flag typo!

@TylerMSFT
Copy link
Copy Markdown
Collaborator

#sign-off

Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

This PR fixes a typo in the compiler flag and cleans up trailing whitespace in code examples. The flag -fsanitizer=address (with an extra "r") has been corrected to -fsanitize=address, which is the correct Clang/MSVC compiler flag for enabling Address Sanitizer.

Changes:

  • Corrected the typo in line 15 from -fsanitizer=address to -fsanitize=address
  • Removed trailing whitespace from code examples in two sections (lines 47, 53, 58, 61, 184-202)

@v-dirichards v-dirichards merged commit e599be9 into MicrosoftDocs:main Jan 27, 2026
8 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

aq-pr-triaged Tracking label for the PR review team ready-to-merge review-team-triage

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants