Re: Nested Sequence Hash Bug
- Posted by DerekParnell (admin) Jan 06, 2015
- 1075 views
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 haven't been able to reproduce the issues reported by others here. I'm using v4.1 so maybe they have already been fixed up.
Anyway, the bug I've discovered is really weird. It only happens when processing a sequence that has an even number of sub-sequences, and all the sub-sequences are identical. An odd number doesn't trigger it. An atom instead of a sub-sequence doesn't trigger it. If any of the sub-sequences is different, the bug isn't triggered. I'm starting to think that it might be a deeper issue with the way sequences are being stored in RAM or something. Anyhow, this is just a progress update.