Skip to content

buffer segment zero length fix#43

Merged
NailxSharipov merged 1 commit into
mainfrom
fix/zero_length_segment
Jan 25, 2026
Merged

buffer segment zero length fix#43
NailxSharipov merged 1 commit into
mainfrom
fix/zero_length_segment

Conversation

@NailxSharipov

Copy link
Copy Markdown
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

codecov Bot commented Jan 25, 2026

Copy link
Copy Markdown

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
@NailxSharipov NailxSharipov deleted the fix/zero_length_segment branch May 2, 2026 15:48
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