[Freeciv-tickets] [freeciv] #48119: Uninitialized gives_shared_tiles on network protocol

アーカイブの一覧に戻る
OSDN Ticket System norep****@osdn*****
Mon Jun 12 11:14:56 JST 2023


#48119: Uninitialized gives_shared_tiles on network protocol

  Open Date: 2023-05-31 14:56
Last Update: 2023-06-12 05:14

URL for this Ticket:
    https://osdn.net//projects/freeciv/ticket/48119
RSS feed for this Ticket:
    https://osdn.net/ticket/ticket_rss.php?group_id=12505&tid=48119

---------------------------------------------------------------------

Last Changes/Comment on this Ticket:
2023-06-12 05:14 Updated by: cazfi
 * Owner Update from (None) to cazfi
 * Resolution Update from None to Accepted


---------------------------------------------------------------------
Ticket Status:

      Reporter: cazfi
         Owner: cazfi
          Type: Bugs
        Status: Open [Owner assigned]
      Priority: 5 - Medium
     MileStone: 3.2.0
     Component: Server
      Severity: 5 - Medium
    Resolution: Accepted
---------------------------------------------------------------------

Ticket 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 information of Freeciv project
Freeciv Project is hosted on OSDN

Project URL: https://osdn.net/projects/freeciv/
OSDN: https://osdn.net

URL for this Ticket:
    https://osdn.net/projects/freeciv/ticket/48119
RSS feed for this Ticket:
    https://osdn.net/ticket/ticket_rss.php?group_id=12505&tid=48119



More information about the Freeciv-tickets mailing list
アーカイブの一覧に戻る