Tíquete #46450

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

: 2023-01-04 20:19 Última Atualização: 2023-01-12 11:22

Relator:
Dono:
Tipo:
Estado:
Fechado
Componente:
Marcos:
Prioridade:
5 - Medium
Gravidade:
5 - Medium
Resolução:
Fixed
Arquivo:
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 History (3/7 Histories)

2023-01-04 20:19 Updated by: cazfi
  • New Ticket "sdl2: popup_government_dialog() NULL dereference when player cannot change to any government" created
2023-01-06 14:28 Updated by: cazfi
Comentário

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

2023-01-06 14:28 Updated by: cazfi
  • Dono Update from (Nenhum) to cazfi
  • Resolução Update from Nenhum to Accepted
2023-01-12 11:22 Updated by: cazfi
  • Estado Update from Aberto to Fechado
  • Resolução Update from Accepted to Fixed

Editar

Please login to add comment to this ticket » Login