Enji Cooper
-
2009-11-05
1. state is an integer that isn't passed as a memory reference between functions, and thus the local value in search_mem doesn't change.
2. The random number also isn't random and always remains constant in its previous form.
This patch (based on LTP's copy of ebizzy, which is version 0.3) fixes that.