sdl2: popup_government_dialog() NULL dereference when player cannot change to any government
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.
master version applies to S3_1 too. S2_6 version has the fix also for sdl-client
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.