am b73f887f: Merge "Fix undefined behavior in hash calculation."

* commit 'b73f887f7e9a6794159d8ae646e9b1d18797125c':
  Fix undefined behavior in hash calculation.