Incidencia #48119

Uninitialized gives_shared_tiles on network protocol

Abrir Fecha: 2023-05-31 20:56 Última actualización: 2023-06-19 11:59

Informador:
Propietario:
Tipo:
Estado:
Cerrado
Componente:
Hito:
Prioridad:
5 - Medium
Gravedad:
5 - Medium
Resolución:
Fixed
Fichero:
1

Details

Running valgrind on S3_2 server side, sending to observer client:

==1573584== Conditional jump or move depends on uninitialised value(s)
==1573584==    at 0x3D8E90: bv_are_equal (bitvector.c:258)
==1573584==    by 0x377F91: send_packet_player_info_100 (packets_gen.c:23151)
==1573584==    by 0x1D46BF: send_player_info_c_real (plrhand.c:1179)
==1573584==    by 0x1BDD5F: connection_attach_real (connecthand.c:701)
==1573584==    by 0x1BF509: establish_new_connection (connecthand.c:273)
==1573584==    by 0x1BFD90: handle_login_request (connecthand.c:517)
==1573584==    by 0x204C47: incoming_client_packets (sernet.c:498)
==1573584==    by 0x204C47: server_sniff_all_input (sernet.c:902)
==1573584==    by 0x158CA4: srv_main (srv_main.c:3530)
==1573584==    by 0x14E25D: main (civserver.c:388)

packets_gen.c:23151 :

  differ = !BV_ARE_EQUAL(old->gives_shared_tiles, real_packet->gives_shared_tiles);

Ticket History (3/5 Histories)

2023-05-31 20:56 Updated by: cazfi
  • New Ticket "Uninitialized shared_tiles on network protocol" created
2023-05-31 20:57 Updated by: cazfi
  • Summary Updated
2023-06-12 11:14 Updated by: cazfi
  • Propietario Update from (Ninguno) to cazfi
  • Resolución Update from Ninguno to Accepted
2023-06-19 11:59 Updated by: cazfi
  • Estado Update from Open to Cerrado
  • Resolución Update from Accepted to Fixed

Editar

Please login to add comment to this ticket » Entrar