SharpZipLib
SharpZipLib copied to clipboard
#ziplib is a Zip, GZip, Tar and BZip2 library written entirely in C# for the .NET platform.
refs #572 Add an implementation of ReadAsync to ZipAESStream, with associated StreamUtils change and a copy/pasted unit test (that currently fails on .NETCore 3.1 due to #572). WIP because: 1)...
### Steps to reproduce A recent Veracode scan on our application using the icsharpcode.sharpzilelib.dll has revealed a vulnerability flaw Vulnerability CWE 73 External Control of File Name or Path. While...
Is use FileStream with FileOptions.WriteThrough option in order to reduce OS memory pressure. ```cs using(var fileStream = new FileStreamWrapper(tmpFileName, FileMode.Create, FileAccess.Write, FileShare.None, 8*1048576, FileOptions.WriteThrough)) using (var gzoStream = new GZipOutputStream(fileStream...
https://github.com/icsharpcode/SharpZipLib/blob/fec479c2e1a2c7cd58ba8319450901fe40eb070f/src/ICSharpCode.SharpZipLib/Tar/TarHeader.cs#L1088 ### Steps to reproduce 1. see https://dotnetfiddle.net/lATEXU ```cs public static void Main() { var s1_UTF_16 = "ABC网络D"; var b1_UTF_16 = Encoding.Unicode.GetBytes(s1_UTF_16); var buffer_UTF_16_default = new byte[b1_UTF_16.Length]; var buffer_UTF_16_ASCII =...
[SD-1649](http://bugtracker.sharpdevelop.net/issue/ViewIssue.aspx?id=1649), originally created on 2/22/2010 08:18:51 by David Pierson Add 128 and 256 bit AES support compatible with WinZip's implementation. --- **Comment from David Pierson on 2/22/2010 08:21:57**: Mostly implemented....
What is the minimum effort required to point multiple zip entries at the same content (rather than duplicating the content)? Basically want to have folder1/file1 + folder2/file2 point to the...
a spin off from #475 which makes the other change suggsted there to remove descriptors from entries during updates, in cases where the header is rewritten rather than just copied...
There are a couple of files that are several thousands LoC, this makes refactoring, merges and finding the right code much harder. One file in particular is in need of...
[SD-1417](http://bugtracker.sharpdevelop.net/issue/ViewIssue.aspx?id=1417), originally created on 5/17/2008 13:24:39 by John Reilly This provides better backwards compatability than using bit 11 for unicode handling
[SD-1803](http://bugtracker.sharpdevelop.net/issue/ViewIssue.aspx?id=1803), originally created on 12/20/2010 02:23:16 by David Pierson Skipping encrypted files inside zip in ZipInputStream When entry is encrypted and password not supplied, ZipInputStream may have a problem skipping...