Skip to content

fix(kona/protocol): add bounds checks in span batch decode to prevent panics on truncated input#19361

Merged
ajsutton merged 4 commits into
developfrom
fix/sb-23-span-batch-truncation-panics
Mar 11, 2026
Merged

fix(kona/protocol): add bounds checks in span batch decode to prevent panics on truncated input#19361
ajsutton merged 4 commits into
developfrom
fix/sb-23-span-batch-truncation-panics

style: fix rustfmt formatting for struct initialization

ba62c9c
Select commit
Loading
Failed to load commit list.
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).
⚠️ Report is 2 commits behind head on develop.

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%> (ø)

... and 727 files with indirect coverage changes

🚀 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.