Tíquete #47956

sg_load_counters() zero-size VLA

: 2023-04-27 21:26 Última Atualização: 2023-07-17 10:33

Relator:
Dono:
Tipo:
Estado:
Fechado
Componente:
Marcos:
Prioridade:
5 - Medium
Gravidade:
5 - Medium
Resolução:
Fixed
Arquivo:
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 History (3/6 Histories)

2023-04-27 21:26 Updated by: cazfi
  • New Ticket "sg_load_counters() zero-size VLA" created
2023-07-04 23:49 Updated by: lachu
Comentário

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 Updated by: cazfi
  • Dono Update from (Nenhum) to cazfi
  • Resolução Update from Nenhum to Accepted
2023-07-10 16:49 Updated by: cazfi
Comentário

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

2023-07-17 10:33 Updated by: cazfi
  • Estado Update from Aberto to Fechado
  • Resolução Update from Accepted to Fixed
Comentário

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.

Attachment File List

Editar

Please login to add comment to this ticket » Login