Complete.Org: Mailing Lists: Archives: freeciv-dev: December 2004:
[Freeciv-Dev] (PR#11748) Assert failure in mystrlcpy
Home

[Freeciv-Dev] (PR#11748) Assert failure in mystrlcpy

[Top] [All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
Subject: [Freeciv-Dev] (PR#11748) Assert failure in mystrlcpy
From: "Vasco Alexandre da Silva Costa" <vasc@xxxxxxxxxxxxxx>
Date: Fri, 31 Dec 2004 14:37:21 -0800
Reply-to: bugs@xxxxxxxxxxx

<URL: http://bugs.freeciv.org/Ticket/Display.html?id=11748 >

This caused a crash in pubserver using S2_0:
http://pubserver.freeciv.org/games/360712

To reproduce simply start a civserver and type:
/'observe'

I think the bug is in utility/shared.c: get_tokens. Somehow, it is
passing mystrlcpy 0 on the third argument. Then bang.





[Prev in Thread] Current Thread [Next in Thread]
  • [Freeciv-Dev] (PR#11748) Assert failure in mystrlcpy, Vasco Alexandre da Silva Costa <=