<URL: http://bugs.freeciv.org/Ticket/Display.html?id=37965 >
This was memory corruption problem. Attached patch fixes one memory bug, which was likely cause to the crash (I managed to reproduce it a couple of times before, but not with this patch) - ML
diff -Nurd -X.diff_ignore freeciv/client/helpdata.c freeciv/client/helpdata.c --- freeciv/client/helpdata.c 2007-03-10 19:42:05.000000000 +0200 +++ freeciv/client/helpdata.c 2007-03-11 22:27:02.000000000 +0200 @@ -1112,7 +1112,7 @@ } sprintf(buf + strlen(buf), "\n"); - insert_allows(&source, buf + strlen(buf), bufsz); + insert_allows(&source, buf + strlen(buf), bufsz - strlen(buf)); if (tech_flag(i, TF_BONUS_TECH)) { sprintf(buf + strlen(buf), _("* The first player to research %s gets "
_______________________________________________ Freeciv-dev mailing list Freeciv-dev@gna.org https://mail.gna.org/listinfo/freeciv-dev