#46107: top_sort_lattice(): clang analyzer warning about zero size VLA Open Date: 2022-11-24 11:57 Last Update: 2022-11-29 06:10 URL for this Ticket: https://osdn.net//projects/freeciv/ticket/46107 RSS feed for this Ticket: https://osdn.net/ticket/ticket_rss.php?group_id=12505&tid=46107 --------------------------------------------------------------------- Last Changes/Comment on this Ticket: 2022-11-29 06:10 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.5 Component: General Severity: 5 - Medium Resolution: Fixed --------------------------------------------------------------------- Ticket details: Clang analyzer warns about top_sort_lattice() potentially having zero-size array "bool marked[lattice->size]" -- 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/46107 RSS feed for this Ticket: https://osdn.net/ticket/ticket_rss.php?group_id=12505&tid=46107