Ticket #48069

ap_diplomat_battle() nonnull target_tile

오픈 날짜: 2023-05-24 20:32 마지막 업데이트: 2023-05-29 13:05

Reporter:
소유자:
Type:
Status:
Closed
Component:
MileStone:
Priority:
5 - Medium
Severity:
5 - Medium
Resolution:
Fixed
File:
3

Details

Seen on S3_0; clang analyzer gives warnings about NULL dereference with tgt_tile parameter of ap_diplomat_battle().

Should probably make it nonnull, and see what further issues that reveals.

Ticket History (3/6 Histories)

2023-05-24 20:32 Updated by: cazfi
  • New Ticket "ap_diplomat_battle() nonnull target_tile" created
2023-05-27 05:21 Updated by: cazfi
  • 소유자 Update from (None) to cazfi
  • Resolution Update from None to Accepted
댓글 올리기

Reply To cazfi

Should probably make it nonnull, and see what further issues that reveals.

S3_1 - main were not affected, but the "nonnull attribute" part done in attached patches anyway. S3_0 patch has more comprehensive fix.

2023-05-29 13:05 Updated by: cazfi
  • Status Update from Open to Closed
  • Resolution Update from Accepted to Fixed

Edit

Please login to add comment to this ticket » Login