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 Jan 27, 2026
Conversation
…itizer Continue On Error to find memory safety issues"
…tizer Continue On Error to find memory safety issues"
Contributor
|
Learn Build status updates of commit 9601827: ✅ Validation status: passed
For more details, please refer to the build report. |
Contributor
|
@TylerMSFT - Can you review the proposed changes? IMPORTANT: When the changes are ready for publication, adding a #label:"aq-pr-triaged" |
TylerMSFT
approved these changes
Jan 27, 2026
Collaborator
|
#sign-off |
Contributor
There was a problem hiding this comment.
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=addressto-fsanitize=address - Removed trailing whitespace from code examples in two sections (lines 47, 53, 58, 61, 184-202)
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Fix wrong
-fsanitizer=addressflag (extra "r") and clean up trailing spaces for examples.