Bug in Edit Comment?
Posted: 20 Jul 2011, 19:50
This relates to xboard from the savannah git master branch.
When I do Edit comment, enter a comment, click the save changes button, then click the OK button xboard crashes with a message 'double free or corruption'.
It fails on line 786 if(*dest) free(*dest); in GenericReadout in xoptions.c.
Maybe it needs to malloc the memory for the comment text when processing it in the SaveChanges function.
I get a similar issue with Edit Tags.
JC
When I do Edit comment, enter a comment, click the save changes button, then click the OK button xboard crashes with a message 'double free or corruption'.
It fails on line 786 if(*dest) free(*dest); in GenericReadout in xoptions.c.
Maybe it needs to malloc the memory for the comment text when processing it in the SaveChanges function.
I get a similar issue with Edit Tags.
JC