This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
Plan C for foiling the algorithmic complexity attack
authorNicholas Clark <nick@ccl4.org>
Thu, 16 Oct 2003 21:10:27 +0000 (21:10 +0000)
committerNicholas Clark <nick@ccl4.org>
Thu, 16 Oct 2003 21:10:27 +0000 (21:10 +0000)
commit4b5190b5321b9b9e2ec46674b256120d4fdab72a
tree1e544d93aaa7feaa02a7944af04463c96a8acd7e
parent4e380990fe579cbec68c15cb8ee072f2d6644a71
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
embedvar.h
hv.c
hv.h
intrpvar.h
perl.c
perlapi.h
sv.c
sv.h
util.c