Skip to content
This repository has been archived by the owner on Dec 22, 2024. It is now read-only.

Fix murmur64a hash #31

Merged
merged 1 commit into from
Apr 9, 2024
Merged

Fix murmur64a hash #31

merged 1 commit into from
Apr 9, 2024

Conversation

xypwn
Copy link
Contributor

@xypwn xypwn commented Apr 3, 2024

Previously, calculated hashes would be wrong if input length was a multiple of 8.

An example of such a wrong hash calculation is the string "content/audio/wep_colony_shotgun".
Using the current upstream version, the hash is wrongly calculated as cc54dec1972bc218. The correct hash for this string is d8a50cd49f4b1c59, which this patched version produces.

Previously, calculated hashes would be wrong if input length was a multiple of 8.
@Xaymar Xaymar merged commit 0965ea6 into Xaymar:root Apr 9, 2024
1 check passed
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants