You are right about that. However when I tried I got a segfault!

Oh yes, now I remember that occurred to me too. The patch that fixed the animation masks on swithing back to color mode fixes that too.

A string constant (DEF_BITMAP_DIR) is assigned to appData.bitmapDirectory when you change to monoMode if it was NULL.

So when I try to change bitmap directory later DEF_BITMAP_DIR is attempted free()'ed, and xboard crashes.

Add a strdup() at xboard.c:1946.


_______________________________________________
Bug-XBoard mailing list
Bug-XBoard@gnu.org
https://lists.gnu.org/mailman/listinfo/bug-xboard

Reply via email to