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

Internally remove workaround in Dev09_056375_locale_cleanup #5103

Merged

Conversation

CaseyCarter
Copy link
Member

@CaseyCarter CaseyCarter commented Nov 20, 2024

The FreeLibrary call made the ASan runtime do Very Bad Things when statically linking the STL. The ASan bug was fixed by AddressSanitizer-PR-582781 (merged into prod/be by MSVC-PR-585734 on 2024-10-16). Let's enable test coverage internally to prevent regressions until the fix ships in 17.13p2.

Fixes VSO-2046190/AB#2046190.

(I've done some extra validation with the trunk compiler as well to make sure this won't become a problem when merging.)

The `FreeLibrary` call made the ASan runtime do Very Bad Things when statically linking the STL.
The ASan bug was fixed by MSVC-PR-582781. Let's enable test coverage internally to prevent regressions until the fix ships in 17.13p2.

Fixes VSO-2046190/AB#2046190.
@CaseyCarter CaseyCarter added test Related to test code ASan Address Sanitizer labels Nov 20, 2024
@CaseyCarter CaseyCarter requested a review from a team as a code owner November 20, 2024 00:29
@CaseyCarter

This comment was marked as outdated.

This comment was marked as resolved.

@StephanTLavavej StephanTLavavej removed their assignment Nov 20, 2024
@StephanTLavavej StephanTLavavej self-assigned this Nov 21, 2024
@StephanTLavavej
Copy link
Member

I'm mirroring this to the MSVC-internal repo - please notify me if any further changes are pushed.

@StephanTLavavej StephanTLavavej merged commit 8ebb4d6 into microsoft:main Nov 22, 2024
39 checks passed
@StephanTLavavej
Copy link
Member

🌏 🧹 ✨

@CaseyCarter CaseyCarter deleted the if-you-love-some-library branch November 23, 2024 00:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
ASan Address Sanitizer test Related to test code
Projects
Archived in project
Development

Successfully merging this pull request may close these issues.

2 participants