Skip to content

<algorithm>: Avoid integer overflow in stable_sort() and ranges::stable_sort for huge inputs on x86 - #5677

Merged
Stephan T. Lavavej (StephanTLavavej) merged 3 commits into
microsoft:mainfrom
StephanTLavavej:stable-sort-overflow
Aug 16, 2025
Merged

<algorithm>: Avoid integer overflow in stable_sort() and ranges::stable_sort for huge inputs on x86#5677
Stephan T. Lavavej (StephanTLavavej) merged 3 commits into
microsoft:mainfrom
StephanTLavavej:stable-sort-overflow

Avoid overflow in `_Partition_point_unchecked`.

06e9b60
Select commit
Loading
Failed to load commit list.
Microsoft GitHub Policy Service / license/cla succeeded Aug 15, 2025 in 0s

All CLA requirements met.

This check verifies that the author has agreed to a CLA with Microsoft.