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

std.zip: file(name) and directory issues #10390

Open
dlangBugzillaToGithub opened this issue Oct 10, 2019 · 2 comments
Open

std.zip: file(name) and directory issues #10390

dlangBugzillaToGithub opened this issue Oct 10, 2019 · 2 comments

Comments

@dlangBugzillaToGithub
Copy link

bugzilla (@berni44) reported this on 2019-10-10T18:40:30Z

Transfered from https://issues.dlang.org/show_bug.cgi?id=20290

CC List

  • cpicard

Description

Taken from #20027:

Rejects directories that pretend to be files, i.e. with compressed or uncompressed sizes not equal to 0.

Rejects file names containing null bytes.

Rejects file names containing backslashes. All slashes must be forward slashes according to the spec.

Rejects file names exceeding 256 bytes.

Rejects directory traversal via file name.

Rejects directory traversal via symlink.

Rejects compressed symlinks.

Rejects symlinks that exceed 1024 bytes.
@dlangBugzillaToGithub
Copy link
Author

bugzilla (@WalterBright) commented on 2019-11-20T18:05:45Z

*** Issue 18950 has been marked as a duplicate of this issue. ***

@dlangBugzillaToGithub
Copy link
Author

dlang-bot commented on 2019-11-21T13:15:24Z

@berni44 created dlang/phobos pull request #7292 "Fix Issue 20290 - std.zip: file(name) and directory issues" fixing this issue:

- Fix Issue 20290 - std.zip: file(name) and directory issues

https://github.com/dlang/phobos/pull/7292

@LightBender LightBender removed the P3 label Dec 6, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants