Complete.Org: Mailing Lists: Archives: freeciv-dev: August 2005:
[Freeciv-Dev] (PR#13654) invalid read in script code
Home

[Freeciv-Dev] (PR#13654) invalid read in script code

[Top] [All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
Subject: [Freeciv-Dev] (PR#13654) invalid read in script code
From: "Jason Short" <jdorje@xxxxxxxxxxxxxxxxxxxxx>
Date: Thu, 11 Aug 2005 18:37:43 -0700
Reply-to: bugs@xxxxxxxxxxx

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

==14696== Invalid read of size 1
==14696==    at 0x1B9052F0: strcmp (mac_replace_strmem.c:249)
==14696==    by 0x809DB9E: hash_fcmp_string (hash.c:199)
==14696==    by 0x809DF80: internal_lookup (hash.c:493)
==14696==    by 0x809E28D: hash_lookup (hash.c:650)
==14696==    by 0x8109991: internal_signal_free (script_signal.c:215)
==14696==    by 0x8109C78: script_signals_free (script_signal.c:366)
==14696==    by 0x81096EF: script_free (script.c:301)
==14696==    by 0x8082AAF: load_rulesets (ruleset.c:3106)
==14696==    by 0x808DF25: game_load (savegame.c:3431)
==14696==    by 0x8057AB8: load_command (stdinhand.c:3143)
==14696==    by 0x80510B6: srv_main (srv_main.c:1690)
==14696==    by 0x804AD13: main (civserver.c:242)
==14696==  Address 0x1BBC2449 is 1 bytes inside a block of size 15 free'd
==14696==    at 0x1B9047C7: free (vg_replace_malloc.c:152)
==14696==    by 0x81099FA: internal_signal_free (script_signal.c:227)
==14696==    by 0x8109C78: script_signals_free (script_signal.c:366)
==14696==    by 0x81096EF: script_free (script.c:301)
==14696==    by 0x8082AAF: load_rulesets (ruleset.c:3106)
==14696==    by 0x808DF25: game_load (savegame.c:3431)
==14696==    by 0x8057AB8: load_command (stdinhand.c:3143)
==14696==    by 0x80510B6: srv_main (srv_main.c:1690)
==14696==    by 0x804AD13: main (civserver.c:242)

This happens with current CVS when loading the attached savegame (or 
maybe any savegame, I dunno).

-jason





[Prev in Thread] Current Thread [Next in Thread]
  • [Freeciv-Dev] (PR#13654) invalid read in script code, Jason Short <=