URL:
<http://gna.org/bugs/?16003>
Summary: trunk client crashes on connect to 2.2.0 server
Project: Freeciv
Submitted by: None
Submitted on: Saturday 05/08/2010 at 02:12 CEST
Category: client
Severity: 3 - Normal
Priority: 5 - Normal
Status: None
Assigned to: None
Originator Email:
Open/Closed: Open
Release: trunk
Discussion Lock: Any
Operating System: None
Planned Release:
_______________________________________________________
Details:
Hi,
trying to connect from a 2.2.99 client to a 2.2.0 server makes the client
segfault. This is because some network packet types have changed in 2.2.99.
Moreover, a modified server can make an older 2.2.0 client segfault as well.
Now one can't obviously do much about a rogue server but maybe this should be
fixed to a more gracious behaviour.
I tried my luck at a simple patch for the trunk client as well as a more
thorough one. There is also a third patch attached for a typo in team support
code that also results in a segfault.
Cheers,
JHS
_______________________________________________________
File Attachments:
-------------------------------------------------------
Date: Saturday 05/08/2010 at 02:12 CEST Name:
connect_to_pre_2_2_99_server_fix.patch Size: 1kB By: None
<http://gna.org/bugs/download.php?file_id=9131>
-------------------------------------------------------
Date: Saturday 05/08/2010 at 02:12 CEST Name: client_pregame_packets.patch
Size: 13kB By: None
<http://gna.org/bugs/download.php?file_id=9132>
-------------------------------------------------------
Date: Saturday 05/08/2010 at 02:12 CEST Name: pteam_null_ptr_deref.patch
Size: 292B By: None
<http://gna.org/bugs/download.php?file_id=9133>
_______________________________________________________
Reply to this item at:
<http://gna.org/bugs/?16003>
_______________________________________________
Message sent via/by Gna!
http://gna.org/
_______________________________________________
Freeciv-dev mailing list
[email protected]
https://mail.gna.org/listinfo/freeciv-dev