#42898: cma_get_parameter(): Turn version assert to normal check Open Date: 2021-09-22 02:24 Last Update: 2021-09-22 02:24 URL for this Ticket: https://osdn.net//projects/freeciv/ticket/42898 RSS feed for this Ticket: https://osdn.net/ticket/ticket_rss.php?group_id=12505&tid=42898 --------------------------------------------------------------------- Last Changes/Comment on this Ticket: 2021-09-22 02:24 Updated by: cazfi * New Ticket "cma_get_parameter(): Turn version assert to normal check" created --------------------------------------------------------------------- Ticket Status: Reporter: cazfi Owner: (None) Type: Patches Status: Open Priority: 5 - Medium MileStone: (None) Component: Client common Severity: 5 - Medium Resolution: None --------------------------------------------------------------------- Ticket details: cma_get_parameter() asserts that the version of the attribute block is 2. That should not be an assert, but proper check for compatibility. Assert 1) is not executing when built with asserts disabled 2) causes a failure like code functioned wrong when it's data version that's incompatible - we should live with that. -- 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/42898 RSS feed for this Ticket: https://osdn.net/ticket/ticket_rss.php?group_id=12505&tid=42898