Issue 20290 - std.zip: file(name) and directory issues
Summary: std.zip: file(name) and directory issues
Status: NEW
Alias: None
Product: D
Classification: Unclassified
Component: phobos (show other issues)
Version: D2
Hardware: All All
: P3 normal
Assignee: No Owner
URL:
Keywords: pull
: 18950 (view as issue list)
Depends on:
Blocks:
 
Reported: 2019-10-10 18:40 UTC by berni44
Modified: 2024-12-01 16:35 UTC (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this issue.
Description berni44 2019-10-10 18:40:30 UTC
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.
Comment 1 berni44 2019-11-20 18:05:45 UTC
*** Issue 18950 has been marked as a duplicate of this issue. ***
Comment 2 Dlang Bot 2019-11-21 13:15:24 UTC
@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
Comment 3 dlangBugzillaToGithub 2024-12-01 16:35:42 UTC
THIS ISSUE HAS BEEN MOVED TO GITHUB

https://github.com/dlang/phobos/issues/10390

DO NOT COMMENT HERE ANYMORE, NOBODY WILL SEE IT, THIS ISSUE HAS BEEN MOVED TO GITHUB