do-not-create-too-many-mines freesweep enters an infinite loop when placing mines if the user's configuration has it creating more than (boardsize - 9) mines. This is caused by game.c:510 not allowing mines to be created within a 3x3 block at the centre of the field, while the initial configuration allows for more than (boardsize - 9) mines to be created. This patch makes a board size of 3x3 invalid because no mines can be placed and lowers the maximum allowable number of mines on a board to (boardsize - 9).
Patch provided by Seneca for freesweep-0.88 see http://bugs.debian.org/249896
Debian Games Team <pkg-games-devel@lists.alioth.debian.org>