buff_t uses 'player' variable name to refer to buff's target
Los mantenedores suelen responder en 1 día
Nadie ha tomado este issue todavía.
Evaluación
- Dificultad
- 4/5
- Tiempo estimado
- 3-5 días
- Aptitud para principiantes
- 35/100
Línea de trabajo
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.
Escrito por el modelo de indexación a partir del texto del issue.
Descripción
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.
- Lenguaje dominante
- C++
- Estrellas
- 1.6k
- Forks
- 789
- Merge medio
- 8 h 18 min
- PR fusionados (30 d)
- 63
Preparar el entorno
- Incluye un Dockerfile o un archivo de Docker Compose
- Sin plantilla de pull request
- Leer la guía de contribución
Primeros pasos
- Lee el issue completo y luego la guía de contribución del proyecto.
- Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
- Haz un fork del repositorio y trabaja en una rama.
- Abre un pull request que haga referencia al número del issue.
Más de simulationcraft/simc
-
Arms slayer_st APL bugAbierto
Dificultad 2/5 1-3 horas Aptitud para principiantes 69/100
simulationcraft/simc#11747 · 2 comentarios ·
Los mantenedores suelen responder en 1 día
-
Dificultad 3/5 1-2 días Aptitud para principiantes 45/100
simulationcraft/simc#11935 ·
Los mantenedores suelen responder en 1 día
-
Dificultad 3/5 1-2 días Aptitud para principiantes 68/100
simulationcraft/simc#11918 · 1 comentario ·
Los mantenedores suelen responder en 1 día
-
Timewalking Item Level BugAbierto
Dificultad 4/5 3-5 días Aptitud para principiantes 45/100
simulationcraft/simc#11845 ·
Los mantenedores suelen responder en 1 día
-
demonhunter.initial_furyAbierto
Dificultad 3/5 1-2 días Aptitud para principiantes 48/100
simulationcraft/simc#11752 · 1 comentario ·
Los mantenedores suelen responder en 1 día
Todos los issues de simulationcraft/simc
Issues similares
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 82/100
NVIDIA-Omniverse/usd-brep#23 ·
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 68/100
qbittorrent/qBittorrent#25121 ·
Los mantenedores suelen responder en 2 días
-
SVT-AV1: Unnecessary size paddingPosiblemente ocupada @pszemus la tomó hoy. Abierto
Dificultad 2/5 1-3 horas Aptitud para principiantes 82/100
strukturag/libheif#1945 ·
Los mantenedores suelen responder en 1 día
-
v9.6.0: CMake incorrectly enforces presence of libevdevPosiblemente ocupada Un pull request vinculado a esta issue está abierto o ya se fusionó. Abierto
Dificultad 2/5 1-3 horas Aptitud para principiantes 67/100
Los mantenedores suelen responder en 1 día
-
Dificultad 1/5 Menos de una hora Aptitud para principiantes 65/100
mltframework/shotcut#1943 ·
Los mantenedores suelen responder en 1 día