ocioarchive symbolic link handling broken (upstream bug/feature)
メンテナーはふだん 1 日以内に返信
まだ誰も着手していません。
評価
調査の方向性
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時間
- マージ済み PR(30日)
- 6
環境構築
- Dockerfile・Docker Compose ファイルなし
- プルリクエストのテンプレートなし
- コントリビューションガイドを読む
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- 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
-
ai_p1 comp-message-queues
難易度 2/5 1〜3時間 初心者へのやさしさ 72/100
ClickHouse/ClickHouse#125890 ·
メンテナーはふだん 1 日以内に返信
-
bug
難易度 2/5 1〜3時間 初心者へのやさしさ 74/100
メンテナーはふだん 1 日以内に返信
-
bug
難易度 1/5 1時間未満 初心者へのやさしさ 78/100
yt-project/ewah_bool_utils#215 · コメント 1 件 ·
-
難易度 2/5 1〜3時間 初心者へのやさしさ 72/100
redis/memtier_benchmark#642 ·
メンテナーはふだん 1 日以内に返信
-
Feature Request
難易度 2/5 1〜3時間 初心者へのやさしさ 70/100
sandboxie-plus/Sandboxie#5653 ·
メンテナーはふだん 1 日以内に返信