任务单 #46450

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

开放日期: 2023-01-04 20:19 最后更新: 2023-01-12 11:22

报告人:
属主:
类型:
状态:
关闭
组件:
里程碑:
优先:
5 - Medium
严重性:
5 - Medium
处理结果:
Fixed
文件:
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.

任务单历史 (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
评论

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
  • 属主 Update from (无) to cazfi
  • 处理结果 Update from to Accepted
2023-01-12 11:22 Updated by: cazfi
  • 状态 Update from 开启 to 关闭
  • 处理结果 Update from Accepted to Fixed

编辑

Please login to add comment to this ticket » 登录名