iemejia commented on PR #582:
URL: https://github.com/apache/avro-rs/pull/582#issuecomment-4951980693
Thanks for the review. Addressed all three points in the latest commit:
- bzip2 and xz no longer `unwrap_or_else(unreachable!)`: added dedicated
`Details::Bzip2Decompress` / `Details::XzDecompress` variants and map
`read_to_end` errors to them, so corrupt input returns an `AvroResult` error
instead of aborting the process.
- The bomb test now asserts the failure is specifically
`Details::MemoryAllocation { .. }` (via the public `Error::details()`), so a
regression failing for another reason can't pass.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]