Re: Nested Sequence Hash Bug
- Posted by DerekParnell (admin) Jan 04, 2015
- 1216 views
bryanso said...
The following keys all have minor differences. But they all hash to the same value with HSIEH30 which is extremely unusual. Is this a hash bug or my misunderstanding? Thanks.
I also discovered this bug over the weekend, while working on my own application.
The bug shows itself when using either HSIEH30 or HSIEH32 mode and when the object being hashed is a sequence that contains an even number of sub-sequences.
I'm still trying to isolate the bad C code that's causing this weird effect. Hopefully I'll have a fix in the next day or so.