diff options
| author | Simon Tatham <anakin@pobox.com> | 2005-10-10 16:29:58 +0000 |
|---|---|---|
| committer | Simon Tatham <anakin@pobox.com> | 2005-10-10 16:29:58 +0000 |
| commit | 813cd5e3bf17c426bfafcf9d64f94ddeaf8deac0 (patch) | |
| tree | 524a57247297ddee606630f82b06e6524db6d24a /twiddle.c | |
| parent | 8a8474a31191804890c2fed03173832f0d81d81e (diff) | |
| download | puzzles-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