The function void DataStorage::writeIndex() improperly calculates the Jenkins hash of the index data
Function:
|
blockHash = hashlittle(&write, sizeof write, blockHash); |
This is how Blizzard Downloader does it:
https://github.com/ladislav-zezula/CascLib/blob/be1f076e4fcfccab0f2eb00368d458e6576f0bbb/src/CascIndexFiles.cpp#L185
This is how Blizzget does it:
https://github.com/ladislav-zezula/CascLib/blob/be1f076e4fcfccab0f2eb00368d458e6576f0bbb/src/CascIndexFiles.cpp#L202
The function
void DataStorage::writeIndex()improperly calculates the Jenkins hash of the index dataFunction:
blizzget/src/ngdp.cpp
Line 451 in 2764ef6
This is how Blizzard Downloader does it:
https://github.com/ladislav-zezula/CascLib/blob/be1f076e4fcfccab0f2eb00368d458e6576f0bbb/src/CascIndexFiles.cpp#L185
This is how Blizzget does it:
https://github.com/ladislav-zezula/CascLib/blob/be1f076e4fcfccab0f2eb00368d458e6576f0bbb/src/CascIndexFiles.cpp#L202