ensure that inserting into a hash causes its hash iteration order to change
authorYves Orton <demerphq@gmail.com>
Sun, 17 Mar 2013 19:48:45 +0000 (20:48 +0100)
committerYves Orton <demerphq@gmail.com>
Mon, 18 Mar 2013 23:23:12 +0000 (00:23 +0100)
commitd5fc06cbb416442b7c14833a0e107aa24005a47b
tree64161b3e83937dee38572814f19a34c110cdaeae
parent3078e109184e83a0c0e99d9eea771d67b90f1e72
ensure that inserting into a hash causes its hash iteration order to change

This serves two functions, it makes it harder for an attacker
to learn useful information by viewing the output of keys(),
and it makes "insert during traversal" errors much easier to
spot, as they will almost always produce degenerate behavior.
hv.c