Skip to content

Conversation

@NailxSharipov
Copy link
Member

Summary

Due to floating-point to integer conversion, the buffer builder can sometimes generate zero-length segments.

Changes

Added validation to skip zero-length segments during buffer construction.

Testing

  • cargo test
  • [ ] cargo fmt
  • cargo clippy

Checklist

  • Added tests for new behavior or bug fixes
  • Updated docs/examples if needed

@codecov
Copy link

codecov bot commented Jan 25, 2026

Codecov Report

✅ All modified and coverable lines are covered by tests.

📢 Thoughts on this report? Let us know!

@NailxSharipov NailxSharipov merged commit 1ed13fe into main Jan 25, 2026
2 checks passed
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