Complete.Org: Mailing Lists: Archives: freeciv-dev: July 2002:
[Freeciv-Dev] Re: Server security bugs
Home

[Freeciv-Dev] Re: Server security bugs

[Top] [All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
To: freeciv-dev@xxxxxxxxxxx
Subject: [Freeciv-Dev] Re: Server security bugs
From: Mateusz Stefek <matusik_s@xxxxx>
Date: 31 Jul 2002 18:29:05 +0200

> I clean the patch and bit up. The policy in packets.c is to expect the
> cap the count at the array size.
> 
>       Raimar
> 
  > +  while (pack_iter_remaining(&iter) >= 2 &&
- > +    packet->num_nations_used <= MAX_NUM_PLAYERS) {
+ > + packet->num_nations_used < MAX_NUM_PLAYERS) {
  >      iget_uint16(&iter, &packet->nations_used[packet->num_nations_used]);
  >      packet->num_nations_used++;
  >    }

Attachment: security2.diff
Description: Text Data


[Prev in Thread] Current Thread [Next in Thread]
  • [Freeciv-Dev] Re: Server security bugs, Mateusz Stefek <=