#47956: sg_load_counters() zero-size VLA Open Date: 2023-04-27 15:26 Last Update: 2023-07-17 04:33 URL for this Ticket: https://osdn.net//projects/freeciv/ticket/47956 RSS feed for this Ticket: https://osdn.net/ticket/ticket_rss.php?group_id=12505&tid=47956 --------------------------------------------------------------------- Last Changes/Comment on this Ticket: 2023-07-17 04:33 Updated by: cazfi * Status Update from Open to Closed * Resolution Update from Accepted to Fixed Comment: Reply To cazfi Oh, you've authored this patch as "Steam Deck User <deck****@tumbl*****>" Resolved this by resetting authorship to myself, and just listing you in the commit message. --------------------------------------------------------------------- Ticket Status: Reporter: cazfi Owner: cazfi Type: Bugs Status: Closed Priority: 5 - Medium MileStone: 3.2.0 Component: Server Severity: 5 - Medium Resolution: Fixed --------------------------------------------------------------------- Ticket details: Clang analyzer (main branch, but I assume S3_2 to be affected too): ../../../../src/server/savegame/savegame3.c:2632:3: warning: Declared variable-length array (VLA) has zero size [core.VLASize] int corder[length]; -- 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/47956 RSS feed for this Ticket: https://osdn.net/ticket/ticket_rss.php?group_id=12505&tid=47956