🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: gnu.chess
Article #5558

Re: Strange illegal move - The comeback

#5558
From: Tim Mann
Date: Wed, 10 Mar 1993 08:39
35 lines
1678 bytes
A number of people have reported this bug.  Mike McGann was kind
enough to send me the fix below.  Mike will be including this fix when
he releases patchlevel 62.

I believe the problems caused by this bug are intermittent, and some
users do not see them at all, because the effect of the bug is to
access two arrays out of bounds (starting at element -1 instead of 0).
Thus the results depend on what variable the compiler assigns to the
memory locations just before the start of the arrays.

	--Tim


Return-Path: mwm@hasler.ascom.ch
Received: by src-mail.pa.dec.com; id AA10763; Mon, 1 Mar 93 00:35:39 -0800
Received: by inet-gw-2.pa.dec.com; id AA03579; Mon, 1 Mar 93 00:35:35 -0800
Received: by hslrswi.hasler.ascom.ch (5.65c/6.32)
	id AA09974; Mon, 1 Mar 1993 09:33:00 +0100 
Date: Mon, 1 Mar 1993 09:33:00 +0100
From: Mike McGann  <mwm@hasler.ascom.ch>
Message-Id: <199303010833.AA09974@hslrswi.hasler.ascom.ch>
To: mann
Subject: p61


the fix for the castle illegal move problem is in
init.c about line 299 it has:

compptr = oppptr = -1;

it should be:

compptr = oppptr = 0;

mike
Technical Details
Message-ID: <1993Mar10.083901.5568@src.dec.com>
Path: arc1-ca.pugleaf.net!sparky!uunet!gatekeeper.us.oracle.com!decwrl!src.dec.com!mann
References: <C3MKAq.B3J@imag.fr>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 10d71d,d531b3e3a119e12f
X-Google-Attributes: gid10d71d,public
X-Google-ArrivalTime: 1993-03-10 00:48:47 PST
Newsgroups: gnu.chess
Path: arc1-ca.pugleaf.net!sparky!uunet!gatekeeper.us.oracle.com!decwrl!src.dec.com!mann
From: mann@src.dec.com (Tim Mann)
Subject: Re: Strange illegal move - The comeback
Message-ID: <1993Mar10.083901.5568@src.dec.com>
Sender: news@src.dec.com (News)
Organization: DEC Systems Research Center
References: <C3MKAq.B3J@imag.fr>
Date: Wed, 10 Mar 93 08:39:01 GMT
Lines: 35