Complete.Org: Mailing Lists: Archives: freeciv-dev: July 2002:
[Freeciv-Dev] Re: Disbanding units causes civserver segfault (PR#1646)
Home

[Freeciv-Dev] Re: Disbanding units causes civserver segfault (PR#1646)

[Top] [All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
To: Per I Mathisen <per@xxxxxxxxxxx>
Cc: freeciv-dev@xxxxxxxxxxx, bugs@xxxxxxxxxxxxxxxxxxx
Subject: [Freeciv-Dev] Re: Disbanding units causes civserver segfault (PR#1646)
From: Raimar Falke <rf13@xxxxxxxxxxxxxxxxx>
Date: Tue, 2 Jul 2002 08:18:03 +0200

On Mon, Jul 01, 2002 at 02:35:56PM -0700, Per I Mathisen wrote:
> +    /* This happens sometimes when a client sends a series of
> +       disband actions, and one disband leads to the disbanding
> +       of another unit later in the same batch */
>      return;

Note that this is primary the guard against malicious requests.

        Raimar

-- 
 email: rf13@xxxxxxxxxxxxxxxxx
  (On the statement print "42 monkeys"+"1 snake"): BTW, both perl and Python
  get this wrong. Perl gives 43 and Python gives "42 monkeys1 snake", when 
  the answer is clearly "41 monkeys and 1 fat snake".  
    -- Jim Fulton, 10 Aug 1999


[Prev in Thread] Current Thread [Next in Thread]