Ticket #48069

ap_diplomat_battle() nonnull target_tile

Eröffnet am: 2023-05-24 20:32 Letztes Update: 2023-05-29 13:05

Auswertung:
Verantwortlicher:
Typ:
Status:
Geschlossen
Komponente:
Meilenstein:
Priorität:
5 - Mittel
Schweregrad:
5 - Mittel
Lösung:
Gefixt
Datei:
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-Verlauf (3/6 Historien)

2023-05-24 20:32 Aktualisiert von: cazfi
  • New Ticket "ap_diplomat_battle() nonnull target_tile" created
2023-05-27 05:21 Aktualisiert von: cazfi
  • Verantwortlicher Update from (Keine) to cazfi
  • Lösung Update from Keine to Accepted
Kommentar

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 Aktualisiert von: cazfi
  • Status Update from Offen to Geschlossen
  • Lösung Update from Accepted to Gefixt

Bearbeiten

Please login to add comment to this ticket » Anmelden