[Freeciv-Dev] Re: (PR#6585) Delta version 9
[Top] [All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
<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
|
|