[Freeciv-tickets] [freeciv] #44687: sdl2: Diplomacy dialogs removed while iterating them

Back to archive index
OSDN Ticket System norep****@osdn*****
Sun Jun 5 02:27:47 JST 2022


#44687: sdl2: Diplomacy dialogs removed while iterating them

  Open Date: 2022-05-27 10:21
Last Update: 2022-06-04 20:27

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-06-04 20:27 Updated by: cazfi
 * Status Update from Open to Closed
 * Resolution Update from Accepted to Fixed


---------------------------------------------------------------------
Ticket Status:

      Reporter: cazfi
         Owner: cazfi
          Type: Bugs
        Status: Closed
      Priority: 5 - Medium
     MileStone: 3.0.2
     Component: SDL2-client
      Severity: 5 - Medium
    Resolution: Fixed
---------------------------------------------------------------------

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



More information about the Freeciv-tickets mailing list
Back to archive index