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: negative float32 overflow when unmarshalling #3811

Merged
merged 1 commit into from
Dec 23, 2023

Conversation

Kimjin-gd
Copy link
Contributor

When unmarshalling, if a negative float32 number is out of range, the error "out of range" would be returned.

Copy link
Contributor

@kevwan kevwan left a comment

Choose a reason for hiding this comment

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

LGTM.

Copy link

codecov bot commented Dec 23, 2023

Codecov Report

All modified and coverable lines are covered by tests ✅

Comparison is base (28c742a) 94.68% compared to head (e0d535f) 94.68%.

Additional details and impacted files
Files Coverage Δ
core/mapping/unmarshaler.go 96.43% <100.00%> (ø)

@kevwan kevwan added this pull request to the merge queue Dec 23, 2023
Merged via the queue into zeromicro:master with commit 6ec38ec Dec 23, 2023
6 checks passed
dongmeng199 pushed a commit to dongmeng199/go-zero that referenced this pull request Dec 24, 2023
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.

None yet

2 participants