bug-xboard
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Bug-XBoard] [bug #34990] Use of Mono mode once permanently swictces


From: h.g. muller
Subject: Re: [Bug-XBoard] [bug #34990] Use of Mono mode once permanently swictces to bitmap pieces
Date: Thu, 22 Dec 2011 10:41:59 +0100


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.




reply via email to

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