Complete.Org: Mailing Lists: Archives: freeciv-dev: October 1999:
[Freeciv-Dev] Re: Server segfaults when click on rates icons (PR#140)
Home

[Freeciv-Dev] Re: Server segfaults when click on rates icons (PR#140)

[Top] [All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
To: qpkjeek@xxxxxxxxxxxxxxx
Cc: freeciv-dev@xxxxxxxxxxx, bugs@xxxxxxxxxxxxxxxxxxx
Subject: [Freeciv-Dev] Re: Server segfaults when click on rates icons (PR#140)
From: David Pfitzner <dwp@xxxxxxxxxxxxxx>
Date: Sun, 3 Oct 1999 18:55:01 +1000 (EST)

qpkjeek@xxxxxxxxxxxxxxx wrote:

> Full_Name: Jerzy Klek
> Version: 1.8.4-beta
> OS: Solaris 2.6

> How to reproduce:
> Start server and client. Connect to the server.
> Click on place where you will later have scientist/taxmen
> icons. Server crashes. Probablu client send select rates 
> packet although game has not started yet.

I think in recent servers this may have changed from a crash
to just a server log message due to addition of more bounds 
checking, but in any case I have checked in a specific fix for 
this: in clients, do nothing in callback unless game is running;
in server also check whether game is running when receive a 
rates packet.

-- David

[Prev in Thread] Current Thread [Next in Thread]
  • [Freeciv-Dev] Re: Server segfaults when click on rates icons (PR#140), David Pfitzner <=