Skip to content

std.sort.block: add safety check for lessThan return value#16183

Merged
andrewrk merged 1 commit intoziglang:masterfrom
alichraghi:sort
Jun 27, 2023
Merged

std.sort.block: add safety check for lessThan return value#16183
andrewrk merged 1 commit intoziglang:masterfrom
alichraghi:sort

Conversation

@alichraghi
Copy link
Contributor

Closes #8289

@alichraghi alichraghi force-pushed the sort branch 8 times, most recently from 98cc527 to dcf4285 Compare June 25, 2023 18:13
Copy link
Member

@andrewrk andrewrk left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you for looking into this.

@andrewrk andrewrk merged commit 6bd5479 into ziglang:master Jun 27, 2023
@alichraghi alichraghi deleted the sort branch March 6, 2025 12:47
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

integer overflow in std.sort.sort due to incorrect lessThan implementation

2 participants