You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
FastZip.CreateZip crashes when used with certain buggy Directory enumeration on .NET 5 #676
SharpZipLib nicely wraps the Directory.GetDirectories call into the FileSystemScanner class. However it is not possible to supply custom FileSystemScanners to FastZip.CreateZip. It would be helpful in this case as I could just copy that class and insert the required fixup calls. It would be necessary to create an interface around FileSystemScanner and to change to public the method
In general it seems like a good idea to make it possible to extend SharpZipLib as much as possible for the consumers own purposes, so making the FileSystemScanner customizable seems like a good idea.
The only concern I have is encouraging the use of FastZip in the first place. The reason for that, is that the decisions about what is acceptable behaviour is done inside the library, with no information of what the actual use case is. This doesn't apply as much to CreateZip as it does to extracting though...
changed the title [-]FastZip.CreateZip - how to deal with buggy Directory enumeration on .net 5[/-][+]FastZip.CreateZip crashes when used with certain buggy Directory enumeration on .NET 5[/+]on Oct 22, 2021
Activity
piksel commentedon Oct 22, 2021
In general it seems like a good idea to make it possible to extend SharpZipLib as much as possible for the consumers own purposes, so making the FileSystemScanner customizable seems like a good idea.
The only concern I have is encouraging the use of
FastZipin the first place. The reason for that, is that the decisions about what is acceptable behaviour is done inside the library, with no information of what the actual use case is. This doesn't apply as much toCreateZipas it does to extracting though...[-]FastZip.CreateZip - how to deal with buggy Directory enumeration on .net 5[/-][+]FastZip.CreateZip crashes when used with certain buggy Directory enumeration on .NET 5[/+]