altf4 / altf4/RealTimeTactics

Segfault in TeamChangedEvent on missing combobox

Open
#49 2 comments 0 reactions 0 assignees View on GitHub
Bug Client OGRE
Dominant language
C++
Stars
6
Forks
4
PR merge metrics
No merged PRs in 30d

Description

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.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.