altf4 / altf4/RealTimeTactics

Segfault in TeamChangedEvent on missing combobox

Abierto
#49 2 comentarios 0 reacciones 0 asignados Ver en GitHub
Bug Client OGRE
Lenguaje dominante
C++
Estrellas
6
Forks
4
Métricas de merge de PR
Sin PR fusionados en 30 d

Descripción

There is a combo box defined as:

```
CEGUI::Combobox *playerTeam;
```

Which is then assigned to a value only in a conditional. This conditional might not get hit. And then all the instances below where playerTeam is accessed will segfault.

There should be an else statement to the 'if' at the top of TeamChangedEvent() to handle this case.

Guía de contribución

No hay ninguna guía de contribución indexada para este repositorio

Evaluación

Este issue todavía no se ha evaluado.

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.