Complete.Org: Mailing Lists: Archives: freeciv-dev: June 2004:
[Freeciv-Dev] (PR#8975) cm clear_cache() called before build_cache3()
Home

[Freeciv-Dev] (PR#8975) cm clear_cache() called before build_cache3()

[Top] [All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
To: undisclosed-recipients: ;
Subject: [Freeciv-Dev] (PR#8975) cm clear_cache() called before build_cache3()
From: "James Canete" <use_less@xxxxxxxxxxx>
Date: Sun, 13 Jun 2004 04:18:10 -0700
Reply-to: rt@xxxxxxxxxxx

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

In aicore/cm.c, it seems as though clear_cache() is called before
build_cache3() when loading a save on a fresh server, leading to a null
pointer dereference.

To reproduce:
1. Apply cm-assert.diff and compile.
2. Start server and load cm-crash.sav.gz. 
3. Assert triggered.

-James Canete

Attachment: cm-crash.sav.gz
Description: application/gzip

Attachment: cm-assert.diff
Description: Binary data


[Prev in Thread] Current Thread [Next in Thread]
  • [Freeciv-Dev] (PR#8975) cm clear_cache() called before build_cache3(), James Canete <=