Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
More aggressive resets of state in xerial reader (segmentio#322)
In cases where the xerial reader requires more bytes than available in the decompressed buffer, we currently get corrupt data. That would result in the reader halting. Clearing out x.output and x.header ensures that this condition is handled gracefully.
- Loading branch information