commit a56dff0a2a776d1d7ad652e8a5e1cf9672d5d44f
Author: Mark Glines <mark@glines.org>
Date: Fri Jan 2 15:25:51 2009 -0800
Make the hash crash consistent by forcing a known-bad hash seed.
diff --git a/src/string.c b/src/string.c
index dc5810c..70d3384 100644
a
|
b
|
|
293 | 293 | else { |
294 | 294 | /* TT #64 - use an entropy source once available */ |
295 | 295 | Parrot_srand(Parrot_intval_time()); |
296 | | interp->hash_seed = Parrot_uint_rand(0); |
| 296 | interp->hash_seed = 211392511; |
297 | 297 | } |
298 | 298 | |
299 | 299 | /* Set up the cstring cache, then load the basic encodings and charsets */ |