Richard Earnshaw points out that if you enter an out-of-range number
authorsimon <simon@cda61777-01e9-0310-a592-d414129be87e>
Mon, 10 Oct 2005 16:29:58 +0000 (16:29 +0000)
committersimon <simon@cda61777-01e9-0310-a592-d414129be87e>
Mon, 10 Oct 2005 16:29:58 +0000 (16:29 +0000)
commitd0ed57cd5049dfe5cb1bb158cc6c48cd7ad9965b
tree524a57247297ddee606630f82b06e6524db6d24a
parent4413ef0febdc131ec0ea3661fcd3466063b31494
Richard Earnshaw points out that if you enter an out-of-range number
in the game description, the solver will fail to notice it and
overrun an array leading to assertion failure, silent wrong answers
or (in extreme cases) segfaults. Hence, validate_desc() now spots
them and kicks them out.

git-svn-id: svn://svn.tartarus.org/sgt/puzzles@6383 cda61777-01e9-0310-a592-d414129be87e
solo.c