URL:
<http://gna.org/bugs/?17663>
Summary: Invalid read in handle_player_remove()
Project: Freeciv
Submitted by: cazfi
Submitted on: Mon 07 Feb 2011 03:43:31 AM EET
Category: client
Severity: 3 - Normal
Priority: 5 - Normal
Status: Ready For Test
Assigned to: None
Originator Email:
Open/Closed: Open
Release:
Discussion Lock: Any
Operating System: None
Planned Release: 2.3.0
_______________________________________________________
Details:
Valgrind says:
==24431== Invalid read of size 8
==24431== at 0x5344B9: player_number (player.c:657)
==24431== by 0x43ACD6: handle_player_remove (packhand.c:1744)
==24431== by 0x43FEEB: client_handle_packet (packhand_gen.c:120)
==24431== by 0x418E2D: client_packet_input (client_main.c:565)
==24431== by 0x41DEF4: input_from_server (clinet.c:417)
==24431== by 0x7EAAC4E: gdk_io_invoke (gdkevents.c:1082)
==24431== by 0xA0886F1: g_main_context_dispatch (gmain.c:1960)
==24431== by 0xA08C567: g_main_context_iterate (gmain.c:2591)
==24431== by 0xA08CA74: g_main_loop_run (gmain.c:2799)
==24431== by 0x799F6B6: gtk_main (gtkmain.c:1219)
==24431== by 0x416CBE: ui_main (gui_main.c:1646)
==24431== by 0x419299: client_main (client_main.c:509)
==24431== by 0xA344C4C: (below main) (libc-start.c:228)
Untested fix attached
_______________________________________________________
File Attachments:
-------------------------------------------------------
Date: Mon 07 Feb 2011 03:43:31 AM EET Name: HPRInvReadFix.diff Size: 914B
By: cazfi
<http://gna.org/bugs/download.php?file_id=12303>
_______________________________________________________
Reply to this item at:
<http://gna.org/bugs/?17663>
_______________________________________________
Message sent via/by Gna!
http://gna.org/
_______________________________________________
Freeciv-dev mailing list
[email protected]
https://mail.gna.org/listinfo/freeciv-dev