ObjFW  Artifact Description [920a5b1adb]

Artifact 920a5b1adbbeb0b31e64c69a6093532a7acb4f4cfb614175d23ae7f43ab7d2e9:

  • File src/OFObject.m
    • 2015-08-26 08:50:09 — part of check-in [50e4ae0716] 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]

    • 2015-08-26 08:53:53 — part of check-in [1b09ca22f3] on branch 0.8 — 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]