#44687: sdl2: Diplomacy dialogs removed while iterating them Open Date: 2022-05-27 10:21 Last Update: 2022-05-27 10:21 URL for this Ticket: https://osdn.net//projects/freeciv/ticket/44687 RSS feed for this Ticket: https://osdn.net/ticket/ticket_rss.php?group_id=12505&tid=44687 --------------------------------------------------------------------- Last Changes/Comment on this Ticket: 2022-05-27 10:21 Updated by: cazfi * New Ticket "sdl2: Diplomacy dialogs removed while iterating them" created --------------------------------------------------------------------- Ticket Status: Reporter: cazfi Owner: (None) Type: Bugs Status: Open Priority: 5 - Medium MileStone: (None) Component: SDL2-client Severity: 5 - Medium Resolution: None --------------------------------------------------------------------- Ticket details: sdl2-client popdown_diplomacy_dialogs() calls popdown_diplomacy_dialog() inside dialog_list_iterate(). That call frees the dialog, causing next iteration to use already-freed link. -- Ticket information of Freeciv project Freeciv Project is hosted on OSDN Project URL: https://osdn.net/projects/freeciv/ OSDN: https://osdn.net URL for this Ticket: https://osdn.net/projects/freeciv/ticket/44687 RSS feed for this Ticket: https://osdn.net/ticket/ticket_rss.php?group_id=12505&tid=44687