Skip to content

Fix signed overflow in bytes_to_int32_LE#49

Merged
da-luce merged 1 commit intoda-luce:devfrom
skeeto:fix-signed-overflow
Jan 17, 2025
Merged

Fix signed overflow in bytes_to_int32_LE#49
da-luce merged 1 commit intoda-luce:devfrom
skeeto:fix-signed-overflow

Conversation

@skeeto
Copy link
Copy Markdown
Contributor

@skeeto skeeto commented Jan 16, 2025

Caught by Undefined Behavior Sanitizer (-fsanitize=undefined).

Caught by Undefined Behavior Sanitizer.
@da-luce da-luce changed the base branch from main to dev January 17, 2025 00:18
@codecov
Copy link
Copy Markdown

codecov bot commented Jan 17, 2025

Codecov Report

All modified and coverable lines are covered by tests ✅

Files with missing lines Coverage Δ
src/bit.c 88.37% <100.00%> (ø)

... and 1 file with indirect coverage changes

@da-luce
Copy link
Copy Markdown
Owner

da-luce commented Jan 17, 2025

Nice catch--thanks!

@da-luce da-luce merged commit 4318048 into da-luce:dev Jan 17, 2025
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.

2 participants