ObjFW  Hex Artifact Content

Artifact 920a5b1adbbeb0b31e64c69a6093532a7acb4f4cfb614175d23ae7f43ab7d2e9:

  • File src/OFObject.m — part of check-in [50e4ae0716] at 2015-08-26 08:50:09 on branch trunk — Make sure of_hash_seed is never initialized to 0

    of_hash_seed == 0 is special, as it means to OFMapTable to behave
    deterministically (which is required for the tests, for example) and not
    do any random per-hashtable rotating on the hash. The random rotation
    improves resistance against hash collision DoS attacks, so if the random
    seed happens to be 0, it would disable that rotation unintentionally,
    thus it's better to get a new random seed if it is 0. (user: js, size: 24525) [annotate] [blame] [check-ins using] [more...]


A hex dump of this file is not available. Please download the raw binary file and generate a hex dump yourself.