fix underflow and crash on malformed stream - #23
Conversation
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configurationConfiguration used: defaults Review profile: CHILL Plan: Pro Plus Run ID: 📒 Files selected for processing (1)
Included review availability: Your plan provides up to 10 included reviews per hour; 9 remain after this review. 📝 WalkthroughWalkthroughThe Yaz0 back-reference decoder now validates copy distances against written output. It also aborts on malformed references and output overruns after logging errors and showing fatal popups. ChangesYaz0 decompression validation
Estimated code review effort: 2 (Simple) | ~10 minutes Merge Risk: ⚪ Minimal · up to This localized decompressor hardening change has no actionable merge-blocking risk remaining based on the available review evidence and is merge-ready after normal checks. 🚥 Pre-merge checks | ✅ 5✅ Passed checks (5 passed)
✨ Finishing Touches📝 Generate docstrings
🧪 Generate unit tests (beta)
Comment |
Hardened the decompressor against malformed data
as talked about here #17
Summary by CodeRabbit