chiark / gitweb /
Richard Earnshaw points out that if you enter an out-of-range number
authorSimon Tatham <anakin@pobox.com>
Mon, 10 Oct 2005 16:29:58 +0000 (16:29 +0000)
committerSimon Tatham <anakin@pobox.com>
Mon, 10 Oct 2005 16:29:58 +0000 (16:29 +0000)
commit813cd5e3bf17c426bfafcf9d64f94ddeaf8deac0
tree524a57247297ddee606630f82b06e6524db6d24a
parent8a8474a31191804890c2fed03173832f0d81d81e
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.

[originally from svn r6383]
solo.c