buff_t uses 'player' variable name to refer to buff's target
メンテナーはふだん 1 日以内に返信
まだ誰も着手していません。
評価
調査の方向性
Start by reviewing buff.cpp, focusing on how buff_t stores and refers to its source and target. The issue points to #10059 as the discovery context; check for other uses of the target under the name "player". Done means confirming whether there are other affected usages and correcting any that can select the wrong actor.
索引モデルが issue の本文から書いたものです。
説明
Describe the bug
When constructing buff_t, both a source and target are set. However, the target is labeled "player" internally, which might lead to unexpected behavior if the wrong actor is used as a result of this name.
This was found in #10059 , but there may be other places within buff.cpp that are similarly affected. The issue requires further in-depth review to confirm if this was the only errant usage.
- 主要言語
- C++
- スター
- 1.6k
- フォーク
- 789
- 平均マージ
- 9時間 44分
- マージ済み PR(30日)
- 56
環境構築
- Dockerfile または Docker Compose ファイルあり
- プルリクエストのテンプレートなし
- コントリビューションガイドを読む
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
simulationcraft/simc のほかの issue
-
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
simulationcraft/simc#11973 ·
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 69/100
simulationcraft/simc#11747 · コメント 2 件 ·
メンテナーはふだん 1 日以内に返信
-
難易度 3/5 1〜2日 初心者へのやさしさ 45/100
simulationcraft/simc#11935 ·
メンテナーはふだん 1 日以内に返信
-
難易度 3/5 1〜2日 初心者へのやさしさ 68/100
simulationcraft/simc#11918 · コメント 1 件 ·
メンテナーはふだん 1 日以内に返信
-
難易度 4/5 3〜5日 初心者へのやさしさ 45/100
simulationcraft/simc#11845 ·
メンテナーはふだん 1 日以内に返信
simulationcraft/simc の issue をすべて見る
似ている issue
-
難易度 2/5 1〜3時間 初心者へのやさしさ 62/100
foxglove/mcap#1907 · コメント 1 件 ·
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 66/100
メンテナーはふだん 1 日以内に返信
-
bug
難易度 2/5 1〜3時間 初心者へのやさしさ 85/100
telegramdesktop/tdesktop#31505 ·
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
メンテナーはふだん 1 日以内に返信
-
ll-builder shell completions omit existing lockfile commands and --locked対応中かも @project-nju-learner が今日担当しました。 オープン
難易度 2/5 1〜3時間 初心者へのやさしさ 90/100
OpenAtom-Linyaps/linyaps#2291 ·
メンテナーはふだん 1 日以内に返信