diff options
author | Nicholas Clark <nick@ccl4.org> | 2003-10-16 21:10:27 +0000 |
---|---|---|
committer | Nicholas Clark <nick@ccl4.org> | 2003-10-16 21:10:27 +0000 |
commit | 4b5190b5321b9b9e2ec46674b256120d4fdab72a (patch) | |
tree | 1e544d93aaa7feaa02a7944af04463c96a8acd7e /util.c | |
parent | 4e380990fe579cbec68c15cb8ee072f2d6644a71 (diff) | |
download | perl-4b5190b5321b9b9e2ec46674b256120d4fdab72a.tar.gz |
Plan C for foiling the algorithmic complexity attack
(based on Chip's plan A (binary compatibility with 5.8.0 and 5.8.1),
Chip's plan B (do something new inside the hv functions)
and introspective sort)
Provides infrastructure for hashes to change their hash function
if necessary, and code in hsplit to detect pathalogical data and
instigate a random rehashing.
Needs refinement. Let's see how much smoke it creates.
p4raw-id: //depot/perl@21471
Diffstat (limited to 'util.c')
-rw-r--r-- | util.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -4427,7 +4427,7 @@ Perl_get_hash_seed(pTHX) Perl_croak(aTHX_ "Your random numbers are not that random"); } } - PL_hash_seed_set = TRUE; + PL_new_hash_seed_set = TRUE; return myseed; } |