bug-gnu-chess
[Top][All Lists]
Advanced

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

Crash bug in DBReadPlayer


From: Alexander Duncan
Subject: Crash bug in DBReadPlayer
Date: Sat, 21 Jul 2001 20:42:03 -0400

hello!

Just noticed a bug in gnuchess v5.02...

I don't have a "players.dat" file installed in the game directory.
When I type in "list" on the command prompt it crashes at line 157
in "players.c".  It fails because it can't find the file and then
it tries to fclose the NULL pointer.  It can be fixed by moving
fclose inside the block(swapping 156 and 157).

-Alex Duncan



reply via email to

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