Ticket #47956

sg_load_counters() zero-size VLA

오픈 날짜: 2023-04-27 21:26 마지막 업데이트: 2023-07-17 10:33

Reporter:
소유자:
Type:
Status:
Closed
Component:
MileStone:
Priority:
5 - Medium
Severity:
5 - Medium
Resolution:
Fixed
File:
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
댓글 올리기

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
  • 소유자 Update from (None) to cazfi
  • Resolution Update from None to Accepted
2023-07-10 16:49 Updated by: cazfi
댓글 올리기

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

2023-07-17 10:33 Updated by: cazfi
  • Status Update from Open to Closed
  • Resolution Update from Accepted to Fixed
댓글 올리기

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

Edit

Please login to add comment to this ticket » Login