#44778: Resolve script dangers around unit_change_owner() Open Date: 2022-06-08 09:48 Last Update: 2022-06-16 07:29 URL for this Ticket: https://osdn.net//projects/freeciv/ticket/44778 RSS feed for this Ticket: https://osdn.net/ticket/ticket_rss.php?group_id=12505&tid=44778 --------------------------------------------------------------------- Last Changes/Comment on this Ticket: 2022-06-16 07:29 Updated by: cazfi * Status Update from Open to Closed * Resolution Update from Accepted to Fixed --------------------------------------------------------------------- Ticket Status: Reporter: ihnatus Owner: cazfi Type: Bugs Status: Closed Priority: 5 - Medium MileStone: 3.0.3 Component: Server Severity: 5 - Medium Resolution: Fixed --------------------------------------------------------------------- Ticket details: A split of #44738. It should be handled that this function sometimes does not give out a unit due to the callback in wipe_init(). In do_capture_units() stack iteration must be safe. Also, in diplomat_bribe() we should avoid getting into negative gold (what's the alternative?..) -- 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/44778 RSS feed for this Ticket: https://osdn.net/ticket/ticket_rss.php?group_id=12505&tid=44778