#47956: sg_load_counters() zero-size VLA Open Date: 2023-04-27 21:26 Last Update: 2023-07-04 23:49 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-04 23:49 Updated by: lachu Comment: Reply To cazfi 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 corderlength; }}} warning-0001.patch --------------------------------------------------------------------- Ticket Status: Reporter: cazfi Owner: (None) Type: Bugs Status: Open Priority: 5 - Medium MileStone: 3.2.0 Component: Server Severity: 5 - Medium Resolution: None --------------------------------------------------------------------- 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