OmegaPhil/animecheck

Invalid calculation of data hashed size during hashing

Closed this issue · 1 comments

In crc32_checksum and md5_checksum, done always assumes 65536 is read in in a hash update. Surely at the end of the file this will be less?

Is this related to the TODO issue in currentHashingTask_update?

This seems to be a valid minor change, and CRC32 and MD5 hashing still works - pushing immediately