Computer Chess Club Archives


Search

Terms

Messages

Subject: Re: A reason not to release new movei in the next month

Author: Uri Blass

Date: 13:45:25 06/28/04

Go up one level in this thread


On June 28, 2004 at 16:15:54, Dan Honeycutt wrote:

>On June 28, 2004 at 15:19:13, Uri Blass wrote:
>
>>Movei can crash if you give it illegal FEN.
>>
>>I cannot change movei in a short time to detect every illegal FEN that may make
>>it crash.
>>
>>FEN that may make it to crash is not only FEN when one side has 2 kings or no
>>king but also FEN when the king is attacked from 3 directions(movei assume that
>>the king can be attacked from at most 2 directions and if the king is attacked
>>from 3 directions it may crash).
>>
>>I do not think that I can fix all the problems in a short time and I certainly
>>do not plan to work on fixing the problem before WCCC.
>>
>>I also consider to ask Leo to remove public versions of movei from his site
>>because they can crash if you give them illegal FEN or game that has more than
>>1000 plies and a virus may use it to attack the computer of people who use
>>movei.
>>
>>Uri
>
>I check all the obvious things like 2 kings or no king for a side but I don't
>check attack from 3 directions.  How would this cause movei to crash?  In my
>case, as soon as I see attack from more than 1 direction then I look only at
>king moves to squares not attacked.
>
>Dan H.

I am not sure if every 3 directions are going to cause it to crash but even 2
opposite direction of rooks may cause it to crash.

The problem is that movei assumes that only one direction of them is possible
and the makemove code that calculates if there is a double check may get the
consequence that there is no double check and that there is only one checking
square.

Uri



This page took 0 seconds to execute

Last modified: Thu, 15 Apr 21 08:11:13 -0700

Current Computer Chess Club Forums at Talkchess. This site by Sean Mintz.