Follow-up Comment #3, bug #20494 (project freeciv): dio_put_uint8() reports:
1: Trying to put 117815226 into 8 bits 1: Trying to put -1078379272 into 8 bits 1: Trying to put 1970164 into 8 bits 1: Trying to put 1970164 into 8 bits 1: Trying to put 1777755 into 8 bits valgrind reports: ==22267== Syscall param socketcall.send(msg) points to uninitialised byte(s) ==22267== at 0x48BEE88: send (socket.S:100) ==22267== by 0x8257926: fc_writesocket (netintf.c:170) ==22267== by 0x8163E68: write_socket_data.isra.2 (connection.c:202) ==22267== by 0x816444B: flush_connection_send_buffer_all (connection.c:232) ==22267== by 0x8164BD4: connection_send_data (connection.c:308) ==22267== by 0x817F151: send_packet_data (packets.c:221) ==22267== by 0x81A932C: send_packet_unit_orders_100 (packets_gen.c:16195) ==22267== by 0x6D0007E6: ??? ==22267== Address 0x774cb84 is 20 bytes inside a block of size 40,960 alloc'd ==22267== at 0x402BE68: malloc (in /usr/lib/valgrind/vgpreload_memcheck-x86-linux.so) ==22267== by 0x8257140: fc_real_malloc (mem.c:84) ==22267== by 0x8164881: new_socket_packet_buffer (connection.c:430) ==22267== by 0x8164D6A: connection_common_init (connection.c:590) ==22267== by 0x80B76C0: make_connection (clinet.c:276) ==22267== by 0x80B7870: try_to_connect (clinet.c:246) ==22267== by 0x80B7974: connect_to_server (clinet.c:262) ==22267== by 0x4777242: g_cclosure_marshal_VOID__VOIDv (gmarshal.c:115) ==22267== by 0x4775726: _g_closure_invoke_va (gclosure.c:840) ==22267== by 0x478EA28: g_signal_emit_valist (gsignal.c:3207) ==22267== by 0x478F452: g_signal_emit (gsignal.c:3352) ==22267== by 0x425F219: gtk_button_clicked (gtkbutton.c:1128) _______________________________________________________ Reply to this item at: <http://gna.org/bugs/?20494> _______________________________________________ Message posté via/par Gna! http://gna.org/ _______________________________________________ Freeciv-dev mailing list Freeciv-dev@gna.org https://mail.gna.org/listinfo/freeciv-dev