Launcher: install, repair and update can delete or overwrite a file replaced after the backup
メンテナーはふだん 1 日以内に返信
まだ誰も着手していません。
評価
調査の方向性
Start with the install, repair and update paths in clean/installer/src/wg_core/install.cpp (lines 788-838) and the helpers in util.cpp (lines 120-149), where the backup is hashed and verified before the target is acted on by path. Trace where the disable target is deleted, the rename destination is removed, and MOVEFILE_REPLACE_EXISTING or CopyFileW(..., FALSE) is used. Done means the target is held or created fail-if-present through the action, so a file replaced after the backup is detected and kept, with race tests covering the whole operation.
索引モデルが issue の本文から書いたものです。
説明
Install, repair and update (clean/installer/src/wg_core/install.cpp:788-838, util.cpp:120-149) hash and verify a backup, then act on the target by path: they delete a disable target, delete a rename destination, and write payloads with MOVEFILE_REPLACE_EXISTING or CopyFileW(..., FALSE).
If another program replaces the target after the backup, or creates a target that was absent, the new file is deleted or overwritten while the backup holds the old bytes. This also covers repair and update after a restore, and the FSR rename-aside.
Expected: hold and verify the destination through the action (one handle), or create with fail-if-present, so a replacement is detected and kept. Needs race tests across the whole operation.
Found in the review of #47.
- 主要言語
- C++
- スター
- 12
- フォーク
- 2
- 平均マージ
- 3時間 10分
- マージ済み PR(30日)
- 171
環境構築
- Dockerfile・Docker Compose ファイルなし
- プルリクエストのテンプレートあり
- コントリビューションガイドを読む
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
phantoslayer21/wronggpu のほかの issue
-
難易度 2/5 1〜3時間 初心者へのやさしさ 88/100
phantoslayer21/wronggpu#275 ·
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 82/100
phantoslayer21/wronggpu#274 ·
メンテナーはふだん 1 日以内に返信
-
bug
難易度 2/5 1〜3時間 初心者へのやさしさ 88/100
phantoslayer21/wronggpu#241 ·
メンテナーはふだん 1 日以内に返信
-
bug build
難易度 2/5 1〜3時間 初心者へのやさしさ 74/100
phantoslayer21/wronggpu#234 ·
メンテナーはふだん 1 日以内に返信
-
bug build
難易度 2/5 1〜3時間 初心者へのやさしさ 80/100
phantoslayer21/wronggpu#233 ·
メンテナーはふだん 1 日以内に返信
phantoslayer21/wronggpu の issue をすべて見る
似ている issue
-
ai_p2
難易度 2/5 1〜3時間 初心者へのやさしさ 80/100
ClickHouse/ClickHouse#132519 ·
メンテナーはふだん 1 日以内に返信
-
[Bug]: VST3 getMidiControllerAssignment reads past midiControllerToParameter for program changeオープン
難易度 2/5 1〜3時間 初心者へのやさしさ 76/100
juce-framework/JUCE#1810 ·
-
難易度 1/5 1時間未満 初心者へのやさしさ 82/100
petercorke/robotics-toolbox-python#952 ·
メンテナーはふだん 1 日以内に返信
-
NatronRenderer: a Python error in the script (-t / project script) doesn't change the exit statusオープンfunc:engine type:bug
難易度 2/5 1〜3時間 初心者へのやさしさ 72/100
NatronGitHub/Natron#1276 ·
メンテナーはふだん 1 日以内に返信
-
難易度 1/5 1〜3時間 初心者へのやさしさ 77/100
メンテナーはふだん 1 日以内に返信