Ticket #46450

sdl2: popup_government_dialog() NULL dereference when player cannot change to any government

Eröffnet am: 2023-01-04 20:19 Letztes Update: 2023-01-12 11:22

Auswertung:
Verantwortlicher:
Typ:
Status:
Geschlossen
Komponente:
Meilenstein:
Priorität:
5 - Mittel
Schweregrad:
5 - Mittel
Lösung:
Gefixt
Datei:
3

Details

S3_0 sdl2-client popup_government_dialog():

--

while (pGov_Button != pGov_Dlg->pEndWidgetList) {
pGov_Button->size.w = max_w;

--

pGov_Button is NULL if not populated by the iteration that goes through governments that player can change to. pEndWidgetList is still not-NULL.

Ticket-Verlauf (3/7 Historien)

2023-01-04 20:19 Aktualisiert von: cazfi
  • New Ticket "sdl2: popup_government_dialog() NULL dereference when player cannot change to any government" created
2023-01-06 14:28 Aktualisiert von: cazfi
Kommentar

master version applies to S3_1 too.
S2_6 version has the fix also for sdl-client

2023-01-06 14:28 Aktualisiert von: cazfi
  • Verantwortlicher Update from (Keine) to cazfi
  • Lösung Update from Keine to Accepted
2023-01-12 11:22 Aktualisiert von: cazfi
  • Status Update from Offen to Geschlossen
  • Lösung Update from Accepted to Gefixt

Bearbeiten

Please login to add comment to this ticket » Anmelden