Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update ZipFile.cs to correct the zip specification version. #53

Merged
merged 2 commits into from
Jan 21, 2015

Conversation

novn2013
Copy link
Contributor

Correct the zip specification version by only checking the lower bits; otherwise it will fail to unzip some zipped files via FastZip.ExtractZip.

Correct the zip specification version by only checking the lower bits.
pjf added a commit to pjf/CKAN that referenced this pull request Oct 31, 2014
Uses the patch from icsharpcode/SharpZipLib#53 .
Thank you, @Novn, for writing this.

Uses the build fixes from https://github.com/Arakis/SharpZipLib for
Mono. Thank you, @arakis, for providing these.

The branch I built from is at
https://github.com/pjf/SharpZipLib/tree/ckan_gh221

Attentioning @bastianeicher who is maintaining a totally awesome
SharpZipLib patches branch. @Novn's patch above fixes the bug
described at http://community.sharpdevelop.net/forums/t/21758.aspx .
There's a test file at
https://github.com/pjf/CKAN/blob/221_ziplib/t/data/gh221.zip which shows
the presence of the bug when combined with the test at
https://github.com/pjf/CKAN/blob/221_ziplib/CKAN/Tests/ZipLib.cs .

Closes KSP-CKAN#221.
Closes KSP-CKAN/CKAN-meta#33

@malahx: I'll be releasing an updated CKAN client shortly with these
fixes.
pjf added a commit to pjf/CKAN that referenced this pull request Oct 31, 2014
Uses the patch from icsharpcode/SharpZipLib#53 .
Thank you, @Novn, for writing this.

Uses the build fixes from https://github.com/Arakis/SharpZipLib for
Mono. Thank you, @arakis, for providing these.

The branch I built from is at
https://github.com/pjf/SharpZipLib/tree/ckan_gh221

Attentioning @bastianeicher who is maintaining a totally awesome
SharpZipLib patches branch. @Novn's patch above fixes the bug
described at http://community.sharpdevelop.net/forums/t/21758.aspx .
There's a test file at
https://github.com/pjf/CKAN/blob/221_ziplib/t/data/gh221.zip which shows
the presence of the bug when combined with the test at
https://github.com/pjf/CKAN/blob/221_ziplib/CKAN/Tests/ZipLib.cs .

Closes KSP-CKAN#221.
Closes KSP-CKAN/CKAN-meta#33

@malahx: I'll be releasing an updated CKAN client shortly with these
fixes.
pjf added a commit to KSP-CKAN/CKAN-core that referenced this pull request Dec 27, 2014
Uses the patch from icsharpcode/SharpZipLib#53 .
Thank you, @Novn, for writing this.

Uses the build fixes from https://github.com/Arakis/SharpZipLib for
Mono. Thank you, @arakis, for providing these.

The branch I built from is at
https://github.com/pjf/SharpZipLib/tree/ckan_gh221

Attentioning @bastianeicher who is maintaining a totally awesome
SharpZipLib patches branch. @Novn's patch above fixes the bug
described at http://community.sharpdevelop.net/forums/t/21758.aspx .
There's a test file at
https://github.com/pjf/CKAN/blob/221_ziplib/t/data/gh221.zip which shows
the presence of the bug when combined with the test at
https://github.com/pjf/CKAN/blob/221_ziplib/CKAN/Tests/ZipLib.cs .

Closes #221.
Closes KSP-CKAN/CKAN-meta#33

@malahx: I'll be releasing an updated CKAN client shortly with these
fixes.
pjf added a commit to KSP-CKAN/CKAN-netkan that referenced this pull request Dec 27, 2014
Uses the patch from icsharpcode/SharpZipLib#53 .
Thank you, @Novn, for writing this.

Uses the build fixes from https://github.com/Arakis/SharpZipLib for
Mono. Thank you, @arakis, for providing these.

The branch I built from is at
https://github.com/pjf/SharpZipLib/tree/ckan_gh221

Attentioning @bastianeicher who is maintaining a totally awesome
SharpZipLib patches branch. @Novn's patch above fixes the bug
described at http://community.sharpdevelop.net/forums/t/21758.aspx .
There's a test file at
https://github.com/pjf/CKAN/blob/221_ziplib/t/data/gh221.zip which shows
the presence of the bug when combined with the test at
https://github.com/pjf/CKAN/blob/221_ziplib/CKAN/Tests/ZipLib.cs .

Closes #221.
Closes KSP-CKAN/CKAN-meta#33

@malahx: I'll be releasing an updated CKAN client shortly with these
fixes.
jfreilly added a commit that referenced this pull request Jan 21, 2015
Update ZipFile.cs to correct the zip specification version.
@jfreilly jfreilly merged commit 3285f15 into icsharpcode:master Jan 21, 2015
@McNeight McNeight mentioned this pull request Apr 6, 2016
@McNeight McNeight added the bug label Apr 14, 2016
@McNeight McNeight added the zip Related to ZIP file format label Apr 15, 2016
@McNeight McNeight modified the milestone: 1.0 May 17, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug zip Related to ZIP file format
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants