Ticket #48301

notify_new_government_options(): jump depending on uninitalized value

Date d'ouverture: 2023-06-27 08:17 Dernière mise à jour: 2023-07-13 18:00

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

Détails

Valgrind about S3_2 autogame:

==1536407== Conditional jump or move depends on uninitialised value(s)
==1536407==    at 0x173A90: notify_new_government_options (techtools.c:1555)
==1536407==    by 0x173ED9: found_new_tech (techtools.c:468)
==1536407==    by 0x175A61: steal_a_tech (techtools.c:1319)
==1536407==    by 0x1D1F97: unit_conquer_city (citytools.c:2104)
==1536407==    by 0x17B06D: unit_move_consequences (unittools.c:3586)
==1536407==    by 0x17B06D: unit_move (unittools.c:4102)
==1536407==    by 0x23D9B8: do_unit_conquer_city (unithand.c:5383)
==1536407==    by 0x23D9B8: unit_perform_action (unithand.c:3818)
==1536407==    by 0x23EF4A: unit_do_action (unithand.c:3272)
==1536407==    by 0x298AA0: dai_unit_attack (aitools.c:918)
==1536407==    by 0x18874A: adv_unit_execute_path (advgoto.c:126)
==1536407==    by 0x2B355E: dai_military_rampage (daiunit.c:614)
==1536407==    by 0x2B6C8A: dai_military_attack (daiunit.c:1763)
==1536407==    by 0x2B86C9: dai_manage_military (daiunit.c:2547)
==1536407==    by 0x2BA418: dai_manage_unit (daiunit.c:2710)
==1536407==    by 0x2BCEFF: dai_manage_units (daiunit.c:2858)
==1536407==    by 0x29192D: dai_do_first_activities (aihand.c:756)
==1536407==    by 0x23FBC2: cai_do_first_activities (classicai.c:447)
==1536407==    by 0x16033C: ai_start_phase (srv_main.c:1096)
==1536407==    by 0x16033C: begin_phase (srv_main.c:1346)
==1536407==    by 0x16033C: srv_running (srv_main.c:2888)
==1536407==    by 0x16033C: srv_main (srv_main.c:3541)
==1536407==    by 0x153F7D: main (civserver.c:388)

Ticket History (3/4 Histories)

2023-06-27 08:17 Updated by: cazfi
  • New Ticket "notify_new_government_options(): jump depending on uninitalized value" created
2023-07-10 22:00 Updated by: cazfi
  • Propriétaire Update from (Aucun) to cazfi
  • Résolution Update from Aucun to Accepted
  • Jalon Update from (Aucun) to 3.2.0
  • Composant Update from (Aucun) to Server
2023-07-13 18:00 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