ObjFW  Check-in [50e4ae0716]

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 | trunk
Files: files | file ages | folders
SHA3-256: 50e4ae071639ade14d2d2f2c675d48f55f9747c293c322acdaa9d55f7c891d0b
User & Date: js on 2015-08-26 08:50:09
Other Links: manifest | tags
Context
2015-08-26
09:05
OFZIPArchive: Throw invalid format on failed seek check-in: 89d2a684d3 user: js tags: trunk
08:50
Make sure of_hash_seed is never initialized to 0 check-in: 50e4ae0716 user: js tags: trunk
08:44
Rename support directory to misc check-in: 83df9c1cb0 user: js tags: trunk
Changes