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

temp name collisions #5

Open
bhermer opened this issue May 29, 2019 · 0 comments
Open

temp name collisions #5

bhermer opened this issue May 29, 2019 · 0 comments

Comments

@bhermer
Copy link

bhermer commented May 29, 2019

When threading out multiple zips operations in NETCF, it is possible to get the same name twice.

Shared.cs line 51 should be changed to

public static string InternalGetTempFileName()
{
return "DotNetZip-" + Guid.NewGuid().ToString() + ".tmp";
}
or something more random

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant