aboutsummaryrefslogtreecommitdiff
path: root/twiddle.c
diff options
context:
space:
mode:
authorSimon Tatham <anakin@pobox.com>2005-10-10 16:29:58 +0000
committerSimon Tatham <anakin@pobox.com>2005-10-10 16:29:58 +0000
commit813cd5e3bf17c426bfafcf9d64f94ddeaf8deac0 (patch)
tree524a57247297ddee606630f82b06e6524db6d24a /twiddle.c
parent8a8474a31191804890c2fed03173832f0d81d81e (diff)
downloadpuzzles-813cd5e3bf17c426bfafcf9d64f94ddeaf8deac0.zip
puzzles-813cd5e3bf17c426bfafcf9d64f94ddeaf8deac0.tar.gz
puzzles-813cd5e3bf17c426bfafcf9d64f94ddeaf8deac0.tar.bz2
puzzles-813cd5e3bf17c426bfafcf9d64f94ddeaf8deac0.tar.xz
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]
Diffstat (limited to 'twiddle.c')
0 files changed, 0 insertions, 0 deletions