Newsgroups: perl.perl5.changes
From: demer...@gmail.com ("Yves Orton")
Date: Sun, 28 Oct 2012 12:08:30 +0100
Local: Sun, Oct 28 2012 7:08 am
Subject: [perl.git] branch smoke-me/yves_rand_hash_seed, created. v5.17.5-97-gaaa2f4e
In perl.git, the branch smoke-me/yves_rand_hash_seed has been created
<http://perl5.git.perl.org/perl.git/commitdiff/aaa2f4e1f22b93f83e87247...>
at aaa2f4e1f22b93f83e8724762bf95e43e1bc1c55 (commit)
- Log -----------------------------------------------------------------
Adds some hash related introspection routines to the hash:: namespace
hash::seed() - returns the current seed
hash::bucket_info() - returns statistics about bucket utilization
hash::bucket_array() - returns an arrayref which represents the
Currently these routines are undocumented and untested.
M ext/Hash-Util/lib/Hash/Util.pm
commit a42955bba50bf316de2a01d2cc41eb12f0ffd5f5
Make perl support a variety of new hash algorithms
This patch adds several new hash algorithms which can be used
They are as follows:
Murmur Hash: (v3) from google, see i
They have all be converted into Perl's ugly macro format. I have not
All of them use the random hash seed.
You can enable a given function by defining one of
PERL_HASH_FUNC_MURMUR
If none are defined then the build will use the old hash which is
A new define PERL_HASH_FUNC is provided which expands to a string
Setting PERL_HASH_SEED_DEBUG to 1 will make perl output the current
M hv.h
commit f02069327755f28cf4eccf2e2d0ff3f83288bddd
fix a hash key order dependency in cpan/autodie/t/hints_pod_examples.t
At the same time make part of the internals deterministic Just In Case.
Version bump on autodie to 2.13 as well.
M cpan/autodie/lib/Fatal.pm
commit 3447a9c50243b1e4e3b97ee6c9c4ad01241958a8
fix hash key ordering dependencies in cpan/CGI/.. tests
Hash seed randomization makes various tests fail as they depend
Note this is not a patch that has been pushed upstream.
M cpan/CGI/Changes
commit 3dc555d5497de39e43597d9b05a38eb06d070e41
fix hash key order dependency from cpan/Module-Pluggable/t/23depth.t
Hash seed randomization causes the order to change per process.
I have bumped Module-Pluggable's version here.
M cpan/Module-Pluggable/lib/Module/Pluggable.pm
commit 008f78923916c4d420db6ae01b313f59234b3d21
rip out HvREHASH logic and replace it with random hash seed per process
The general idea of the HvREHASH() logic is to avoid hashing attacks by
However the attack is avoided if the attacker cannot predict the hash
M MANIFEST
--
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
| ||||||||||||||