[Freeciv-Dev] (PR#14369) civserver crashes on startup (amd64)
[Top] [All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
<URL: http://bugs.freeciv.org/Ticket/Display.html?id=14369 >
civserver from a fresh checkout (Tue 18 Oct) crashes on startup under
x86_64.
The reason for this seems to be code like in unittype.c precalc_one()
memory is allocated based of sizeof( Unit_type_id ), which is 32bit,
but then tries to assign a pointer to it with
with_role[i][j++] = u;
which is 64bit, causing a buffer overflow.
this bug will exist anywhere where such allocation is being done.
David
--
Make your website SCREEM - Site Creating & Editing EnvironMent
URL: http://www.screem.org/
Mail: david@xxxxxxxxxx
signature.asc
Description: PGP signature
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Freeciv-Dev] (PR#14369) civserver crashes on startup (amd64),
David A Knight <=
|
|