-
-
Notifications
You must be signed in to change notification settings - Fork 131
Closed
Labels
invalidThis doesn't seem rightThis doesn't seem right
Description
Describe the bug
Hi, while poking around and testing zstd compression instead of gzip, I think I discovered a logical error in the code.
It's quite possible this issue never surfaced when using gzip.
Issue:
When closing file, tar and gzip writers, tar writer gets closed before gzip writer:
| err = gzipWriter.Close() |
Imo, the order of closing should be gzip -> tar -> file.
I noticed it when troubleshooting one zst archive that had a corrupted block at the end.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
invalidThis doesn't seem rightThis doesn't seem right