]> git.sesse.net Git - stockfish/commitdiff
Fix another crash triggered by previous patch
authorMarco Costalba <mcostalba@gmail.com>
Sun, 11 Dec 2011 10:42:16 +0000 (11:42 +0100)
committerMarco Costalba <mcostalba@gmail.com>
Sun, 11 Dec 2011 10:44:09 +0000 (11:44 +0100)
It is ok to redirect st pointer to startState, but the latter
should be updated with the content pointed by the st of the
original position. The bug is hidden when startState and *st
are the same as is the case of searching from start position,
but as soon as moves are made (as is the case when splitting)
the bug leads to a crash.

No functional change.

Signed-off-by: Marco Costalba <mcostalba@gmail.com>

No differences found