Skip to content

Fix potential integer overflow bug with comparisons in sort_utils.c#139

Open
ahl27 wants to merge 2 commits into
Bioconductor:develfrom
ahl27:devel
Open

Fix potential integer overflow bug with comparisons in sort_utils.c#139
ahl27 wants to merge 2 commits into
Bioconductor:develfrom
ahl27:devel

Conversation

@ahl27

@ahl27 ahl27 commented Jun 26, 2026

Copy link
Copy Markdown

subtracting large negative numbers from large positive numbers here can cause an integer overflow. It's safer to just use < and > so avoid these issues.

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.

1 participant