Bug 20290 – std.zip: file(name) and directory issues

Status
NEW
Severity
normal
Priority
P3
Component
phobos
Product
D
Version
D2
Platform
All
OS
All
Creation time
2019-10-10T18:40:30Z
Last change time
2024-12-01T16:35:42Z
Keywords
pull
Assigned to
No Owner
Creator
berni44
Moved to GitHub: phobos#10390 →

Comments

Comment #0 by bugzilla — 2019-10-10T18:40:30Z
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 by bugzilla — 2019-11-20T18:05:45Z
*** Issue 18950 has been marked as a duplicate of this issue. ***
Comment #2 by dlang-bot — 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
Comment #3 by robert.schadek — 2024-12-01T16:35:42Z
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