fix(kona/protocol): add bounds checks in span batch decode to prevent panics on truncated input#19361
Merged
Merged
Codecov / codecov/project
succeeded
Mar 9, 2026 in 0s
76.6% (+1.3%) compared to 81d57ae
View this Pull Request on Codecov
76.6% (+1.3%) compared to 81d57ae
Details
Codecov Report
✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 76.6%. Comparing base (81d57ae) to head (ba62c9c).
Additional details and impacted files
@@ Coverage Diff @@
## develop #19361 +/- ##
===========================================
+ Coverage 75.3% 76.6% +1.3%
===========================================
Files 193 536 +343
Lines 11256 70239 +58983
===========================================
+ Hits 8476 53868 +45392
- Misses 2636 16371 +13735
+ Partials 144 0 -144 | Files with missing lines | Coverage Δ | |
|---|---|---|
| .../kona/crates/protocol/protocol/src/batch/prefix.rs | 100.0% <100.0%> (ø) |
|
| ...crates/protocol/protocol/src/batch/transactions.rs | 95.6% <100.0%> (ø) |
🚀 New features to boost your workflow:
- ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
- 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.
Loading