Ticket #44987

dai_is_unit_tired_waiting_boat() NULL dereference when unit has no homecity

Date d'ouverture: 2022-07-03 14:51 Dernière mise à jour: 2022-07-06 14:39

Rapporteur:
Propriétaire:
Type:
État:
Atteints
Composant:
Priorité:
5 - moyen
Sévérité:
5 - moyen
Résolution:
Fixed
Fichier:
2

Détails

dai_is_unit_tired_waiting_boat() has : "if (tile_continent(src) != tile_continent(src_home_city))" where src_home_city might be NULL. tile_continent() is just a macro that does not check it's parameter.

Ticket History (3/5 Histories)

2022-07-03 14:51 Updated by: cazfi
  • New Ticket "dai_is_unit_tired_waiting_boat() NULL dereference when unit has no homecity" created
2022-07-03 15:09 Updated by: cazfi
  • Propriétaire Update from (Aucun) to cazfi
  • Résolution Update from Aucun to Accepted
Commentaire

Also a S2_6 version attached

2022-07-06 14:39 Updated by: cazfi
  • État Update from Ouvert to Atteints
  • Résolution Update from Accepted to Fixed

Modifier

Please login to add comment to this ticket » Connexion