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

Fix bad tr1/algorithm test cases #3967

Merged
merged 1 commit into from
Aug 18, 2023

Conversation

CaseyCarter
Copy link
Member

These two is_permutation(first, last, x) calls violate the precondition that [x, x + (last - first)) is a valid range.

Fixes VSO-1854237 / AB#1854237

These two `is_permutation(first, last, x)` calls violate the precondition that `[x, x + (last - first))` is a valid range.

Fixes VSO-1854237 / AB#1854237
@CaseyCarter CaseyCarter added bug Something isn't working test Related to test code labels Aug 14, 2023
@CaseyCarter CaseyCarter requested a review from a team as a code owner August 14, 2023 22:33
@CaseyCarter
Copy link
Member Author

Who knew this Address Sanitizer thing could actually be useful!

@StephanTLavavej StephanTLavavej removed the bug Something isn't working label Aug 14, 2023
@StephanTLavavej
Copy link
Member

Dropping the bug label, which we reserve for bugs in product code only.

@StephanTLavavej StephanTLavavej self-assigned this Aug 17, 2023
@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 c7a90d7 into microsoft:main Aug 18, 2023
37 checks passed
@StephanTLavavej
Copy link
Member

🐞 🛠️ 😻

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
test Related to test code
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants