ObjFW  Check-in [1b09ca22f3]

Overview
Comment: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.

Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | 0.8
Files: files | file ages | folders
SHA3-256: 1b09ca22f34e69b97b964a057ca736ce6411958f97652d9eb8b91e65d8b65d76
User & Date: js on 2015-08-26 08:53:53
Other Links: branch diff | manifest | tags
Context
2015-08-26
09:07
OFZIPArchive: Throw invalid format on failed seek check-in: 022994c409 user: js tags: 0.8
08:53
Make sure of_hash_seed is never initialized to 0 check-in: 1b09ca22f3 user: js tags: 0.8
08:24
OFProcess: Send SIGTERM on close check-in: 397b4ee50b user: js tags: 0.8
Changes