buff_t uses 'player' variable name to refer to buff's target
维护者通常 1 天内回复
还没有人认领这个 Issue。
评估
调研方向
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 分钟
- 30 天内合并 PR
- 56
环境准备
- 提供 Dockerfile 或 Docker Compose 文件
- 没有 Pull Request 模板
- 阅读贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 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 小时 新手友好度 78/100
-
[BUG] Failed archive extraction deletes the dataset cache可能已有人在做 @dajiaohuang 今天认领。 未关闭
难度 2/5 1-3 小时 新手友好度 78/100
alibaba/GraphScope#4674 ·
-
难度 1/5 1 小时以内 新手友好度 93/100
webarkit/WebARKitLib#107 ·
维护者通常 1 天内回复
-
难度 2/5 1-3 小时 新手友好度 72/100
ONLYOFFICE/DesktopEditors#2527 ·
-
bug good first issue
难度 2/5 1-3 小时 新手友好度 82/100
HEL3AN/econspace-mmo#529 ·
维护者通常 1 天内回复