Complete.Org: Mailing Lists: Archives: freeciv-dev: May 2004:
[Freeciv-Dev] (PR#8748) memory error with --file option
Home

[Freeciv-Dev] (PR#8748) memory error with --file option

[Top] [All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
To: undisclosed-recipients: ;
Subject: [Freeciv-Dev] (PR#8748) memory error with --file option
From: "Per Inge Mathisen" <per@xxxxxxxxxxx>
Date: Sat, 15 May 2004 15:08:01 -0700
Reply-to: rt@xxxxxxxxxxx

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

Starting server with --file some.sav.gz gives this valgrind warning:

==11130== Source and destination overlap in memcpy(0x82400b8, 0x82400b8, 32)
==11130==    at 0xA1C5B1: memcpy (mac_replace_strmem.c:95)
==11130==    by 0x804C44E: mystrlcpy (support.c:221)
==11130==    by 0x8054FE8: load_command (stdinhand.c:4111)
==11130==    by 0x804FAEA: srv_main (srv_main.c:1478)

I think whoever changed this code for conndlg made a slight mistake here.

  - Per




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