[Freeciv-tickets] [freeciv] #47956: sg_load_counters() zero-size VLA

Back to archive index
OSDN Ticket System norep****@osdn*****
Mon Jul 10 16:49:23 JST 2023


#47956: sg_load_counters() zero-size VLA

  Open Date: 2023-04-27 15:26
Last Update: 2023-07-10 10: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-10 10:49 Updated by: cazfi

Comment:

Oh, you've authored this patch as "Steam Deck User <deck****@tumbl*****>"


---------------------------------------------------------------------
Ticket Status:

      Reporter: cazfi
         Owner: cazfi
          Type: Bugs
        Status: Open [Owner assigned]
      Priority: 5 - Medium
     MileStone: 3.2.0
     Component: Server
      Severity: 5 - Medium
    Resolution: Accepted
---------------------------------------------------------------------

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



More information about the Freeciv-tickets mailing list
Back to archive index