altf4 / altf4/RealTimeTactics

Segfault in TeamChangedEvent on missing combobox

オープン
#49 コメント 2 件 リアクション 0 件 担当者 0 名 GitHub で見る
Bug Client OGRE
主要言語
C++
スター
6
フォーク
4
PR マージ指標
30日以内にマージされた PR はありません

説明

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.

コントリビューションガイド

このリポジトリのコントリビューションガイドは索引されていません

評価

この issue はまだ評価されていません。

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。