Fix #84: Failure in brotli_uncompress_add() is not propagated to the user#85
Conversation
… the user Crucially, must check against hard errors (`BROTLI_DECODER_RESULT_ERROR`) not against `BROTLI_DECODER_RESULT_SUCCESS` because then `NEEDS_MORE_INPUT` is misinterpreted as error.
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configurationConfiguration used: defaults Review profile: CHILL Plan: Pro Run ID: 📒 Files selected for processing (1)
📝 WalkthroughWalkthroughThe PR modifies ChangesBrotli decompression error handling
Estimated code review effort🎯 2 (Simple) | ⏱️ ~8 minutes Possibly related issues
Possibly related PRs
Poem
🚥 Pre-merge checks | ✅ 5✅ Passed checks (5 passed)
✏️ Tip: You can configure your own custom pre-merge checks in the settings. ✨ Finishing Touches🧪 Generate unit tests (beta)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
|
Thanks. |
Crucially, must check against hard errors
(
BROTLI_DECODER_RESULT_ERROR) not againstBROTLI_DECODER_RESULT_SUCCESSbecause thenNEEDS_MORE_INPUTis misinterpreted as error.Note: this was found by a hybrid static-dynamic analyzer I'm developing.
Summary by CodeRabbit