Skip to content

Conversation

StephanTLavavej
Copy link
Member

Followup to #5562.

I forgot that ASan activates conditionally compiled code, which also needs casts to avoid compiler warnings.

To simplify things, I'm also consistently extracting _New_size so we don't need to repeat the cast expressions. I verified that this isn't introducing any shadowing.

Thanks to @davidmrdavid and @zacklj89 for bringing this to my attention.

@StephanTLavavej StephanTLavavej requested a review from a team as a code owner October 10, 2025 22:10
@StephanTLavavej StephanTLavavej added the bug Something isn't working label Oct 10, 2025
@github-project-automation github-project-automation bot moved this to Initial Review in STL Code Reviews Oct 10, 2025
@StephanTLavavej
Copy link
Member Author

/azp run STL-ASan-CI

Copy link

Azure Pipelines successfully started running 1 pipeline(s).

@StephanTLavavej
Copy link
Member Author

@StephanTLavavej StephanTLavavej merged commit 85e4b57 into microsoft:main Oct 10, 2025
39 checks passed
@github-project-automation github-project-automation bot moved this from Initial Review to Done in STL Code Reviews Oct 10, 2025
@StephanTLavavej StephanTLavavej deleted the static_cats branch October 10, 2025 23:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working

Projects

Archived in project

Development

Successfully merging this pull request may close these issues.

2 participants