]> git.sesse.net Git - stockfish/commitdiff
Fix memory access in Search::clear()
authorJoost VandeVondele <Joost.VandeVondele@gmail.com>
Thu, 18 May 2017 01:15:01 +0000 (18:15 -0700)
committerJoona Kiiski <joona@zoox.com>
Thu, 18 May 2017 01:15:01 +0000 (18:15 -0700)
Fixes a bug in Search::clear, where the filling of CounterMoveStats&, overwrote (currently presumably unused) memory because sizeof(cm) returns the size in bytes, whereas elements was needed.

No functional change

Closes #1119


No differences found