Skip to content

FastZip closes not owned stream in method CreateZip #124

Closed

Description

Steps to reproduce

  1. Download and install latest nuget package
  2. Initialize new FastZip and new MemoryStrram
  3. Call method CreateZip with created MemoryStream as argument

Expected behavior

MemoryStream instance is filled with data and is in operable state, not disposed

Actual behavior

MemoryStream instance was disposed after control returned from CreateZip method

Version of SharpZipLib

SharpZipLib.0.86.0

Obtained from (place an x between the brackets for all that apply)

  • Compiled from source
    • branch: _______
    • commit: _______
  • Downloaded DLL from GitHub
  • Downloaded DLL from SourceForge
  • Downloaded DLL from _______
  • DLL included as part of
  • Package installed using:
    • [x ] NuGet
    • MyGet
    • Chocolatey

Activity

  1. self-assigned this
    on Aug 14, 2016
  2. added
    zip
    and removed on Aug 14, 2016
  3. Numpsy commented on Apr 22, 2020

    @Numpsy
    Contributor

    Can this be closed as a dup of #78?

  4. piksel commented on May 28, 2020

    @piksel
    Member

    Yeah!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

bugzip

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions