mirror of
https://github.com/adamhathcock/sharpcompress.git
synced 2026-02-04 05:25:00 +00:00
Double Dispose() of ZipWritingStream #235
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @aienabled on GitHub (Sep 8, 2017).
Hello!
I've noticed that ZipWritingStream on
Disposemethod call will produce a new ZipEntry.But it doesn't have protection against subsequent
Disposecall. For example:it will call dispose for ZipWritingStream two times and produce two zip entries in the archive.
I didn't checked it for other streams (non-zip) but they also could be affected by this issue.
Regards!