Ticket #47956

sg_load_counters() zero-size VLA

Eröffnet am: 2023-04-27 21:26 Letztes Update: 2023-07-17 10:33

Auswertung:
Verantwortlicher:
Typ:
Status:
Geschlossen
Komponente:
Meilenstein:
Priorität:
5 - Mittel
Schweregrad:
5 - Mittel
Lösung:
Gefixt
Datei:
1

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-Verlauf (3/6 Historien)

2023-04-27 21:26 Aktualisiert von: cazfi
  • New Ticket "sg_load_counters() zero-size VLA" created
2023-07-04 23:49 Aktualisiert von: lachu
Kommentar

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

2023-07-08 15:25 Aktualisiert von: cazfi
  • Verantwortlicher Update from (Keine) to cazfi
  • Lösung Update from Keine to Accepted
2023-07-10 16:49 Aktualisiert von: cazfi
Kommentar

Oh, you've authored this patch as "Steam Deck User <deck@tumbleweed-pkg.steamdeck>"

2023-07-17 10:33 Aktualisiert von: cazfi
  • Status Update from Offen to Geschlossen
  • Lösung Update from Accepted to Gefixt
Kommentar

Reply To cazfi

Oh, you've authored this patch as "Steam Deck User <deck@tumbleweed-pkg.steamdeck>"

Resolved this by resetting authorship to myself, and just listing you in the commit message.

Dateianhangliste

Bearbeiten

Please login to add comment to this ticket » Anmelden