id,summary,reporter,owner,description,type,status,priority,milestone,component,version,resolution,keywords,cc,os,architecture,failure,difficulty,testcase,blockedby,blocking,related
5944,Bad hpc hash function,Lennart,simonmar,"In the hpc module Trace.Hpc.Util there is the following code:

{{{
instance (HpcHash a,HpcHash b) => HpcHash (a,b) where
  toHash (a,b) = toHash a * 33 `hxor` toHash b
}}}

This is bad and I can only presume that what was actually intended was

{{{
instance (HpcHash a,HpcHash b) => HpcHash (a,b) where
  toHash (a,b) = (toHash a * 33) `hxor` toHash b
}}}

Otherwise a hash of 0 for a will result in a total hash of 0.
",bug,closed,high,7.4.2,Code Coverage,7.2.2,fixed,,,Unknown/Multiple,Unknown/Multiple,None/Unknown,Unknown,,,,
