ocioarchive symbolic link handling broken (upstream bug/feature)
维护者通常 1 天内回复
还没有人认领这个 Issue。
评估
调研方向
从 ocioarchive 的符号链接处理和归档提取入口开始;将报告的行为与链接的 minizip-ng issue 进行比较。重现一个包含指向 LUT 文件的符号链接的归档,然后验证 ocioarchive 和 unzip 都能正确提取归档条目,而不会将其内容当作链接目标。
由索引模型根据 Issue 内容生成。
描述
We were trying to use OCIO archive on a tree that happened to contain symbolic links to another location. The archive runs with no errors indicated but neither unzip not ocioarchive can extract the files. It appears to be related to https://github.com/zlib-ng/minizip-ng/issues/797
In our case the symbolic link was to a LUT file, which when trying to extract resulted in an attempt to create a symbolic link pointing to the contents of the file... example contents from zipinfo
Central directory entry #24:
---------------------------
There are an extra 16 bytes preceding this file.
colour/look/aces_1.2/luts/Log2_48_nits_Shaper_to_linear.spi1d
offset of local header from start of archive: 16072021
(0000000000F53D55h) bytes
file system or operating system of origin: Unix
version of encoding software: 4.5
minimum file system compatibility required: MS-DOS, OS/2 or NT FAT
minimum software version required to extract: 2.0
compression method: deflated
compression sub-type (deflation): maximum
file security status: not encrypted
extended local header: yes
file last modified on (DOS date/time): 2023 Aug 1 08:30:30
32-bit CRC value (hex): 83a5291c
compressed size: 27242 bytes
uncompressed size: 73776 bytes
length of filename: 61 characters
length of extra field: 0 bytes
length of file comment: 0 characters
disk number on which file begins: disk 1
apparent file type: binary
Unix file attributes (120777 octal): lrwxrwxrwx
MS-DOS file attributes (00 hex): none
So we see the file contents are stored compressed but the file attributes are a for a symbolic link.
- 主要语言
- C++
- 星标
- 2.1k
- 派生
- 502
- 平均合并
- 6 天 3 小时
- 30 天内合并 PR
- 6
环境准备
- 没有 Dockerfile 或 Docker Compose 文件
- 没有 Pull Request 模板
- 阅读贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
AcademySoftwareFoundation/OpenColorIO 的其他 Issue
-
Inconsistent run-time library usage for locale handling breaks GPU code generation on some systems.未关闭
难度 2/5 1-3 小时 新手友好度 86/100
AcademySoftwareFoundation/OpenColorIO#2351 · 2 条评论 ·
维护者通常 1 天内回复
-
难度 2/5 1-3 小时 新手友好度 84/100
AcademySoftwareFoundation/OpenColorIO#2340 ·
维护者通常 1 天内回复
-
难度 2/5 1-3 小时 新手友好度 82/100
AcademySoftwareFoundation/OpenColorIO#2329 ·
维护者通常 1 天内回复
-
Build failure on GCC/MinGW (MXE): std::ifstream constructor mismatch with Platform::filenameToUTF()未关闭
难度 2/5 1-3 小时 新手友好度 78/100
AcademySoftwareFoundation/OpenColorIO#2283 ·
维护者通常 1 天内回复
-
Documentation
难度 1/5 1 小时以内 新手友好度 72/100
AcademySoftwareFoundation/OpenColorIO#2280 · 1 条评论 ·
维护者通常 1 天内回复
查看 AcademySoftwareFoundation/OpenColorIO 的全部 Issue
相似的 Issue
-
难度 2/5 1-3 小时 新手友好度 82/100
ROCm/rocm-systems#13754 · 2 条评论 ·
维护者通常 2 天内回复
-
难度 2/5 1-3 小时 新手友好度 68/100
raspberrypi/libpisp#80 ·
-
难度 2/5 1-3 小时 新手友好度 76/100
nanoporetech/pod5-file-format#198 ·
-
难度 2/5 1-3 小时 新手友好度 68/100
rhalbersma/xstd-ints#341 ·
维护者通常 1 天内回复
-
难度 2/5 1-3 小时 新手友好度 75/100
secondlife/lsl-definitions#222 ·
维护者通常 9 天内回复