Complete.Org: Mailing Lists: Archives: freeciv-dev: November 2003:
[Freeciv-Dev] Re: (PR#6585) Delta version 9
Home

[Freeciv-Dev] Re: (PR#6585) Delta version 9

[Top] [All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
To: i-freeciv-lists@xxxxxxxxxxxxx
Subject: [Freeciv-Dev] Re: (PR#6585) Delta version 9
From: "Jason Short" <jdorje@xxxxxxxxxxxxxxxxxxxxx>
Date: Mon, 17 Nov 2003 21:21:30 -0800
Reply-to: rt@xxxxxxxxxxx

<URL: http://rt.freeciv.org/Ticket/Display.html?id=6585 >

Raimar Falke wrote:
> On Sat, Nov 15, 2003 at 09:07:21AM -0800, Arnstein Lindgard wrote:
> 
>><URL: http://rt.freeciv.org/Ticket/Display.html?id=6585 >
>>
>>
>>1)
>>
>>civserver
>>
>>>set ai 7
>>
>>civclient
>>(connect)
>>(start)
>>(select nation)
>>
>>Crash.
>>
>>civclient: packets.c:330: get_packet_from_connection: Assertion
>>`error == 0' failed.
> 
> The decompression buffer wasn't large enough.

The fact that this error is even possible is very bad.

Libz is good for decompressing linearly; shouldn't we be able to specify 
a maximum buffer size and decompress in clumps if necessary?  Otherwise, 
given an unbounded ratio of compression we have an unsolvable 
security-versus-correctness problem.

jason




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