OmegaPhil / animecheck

Commandline CRC32, MD5 and eD2k-based hashing script also capable of reading and creating SFV and MD5 checksum files and generating eD2k links. This is an initial foray into python and github
GNU General Public License v3.0
46 stars 5 forks source link

Invalid calculation of data hashed size during hashing #18

Closed OmegaPhil closed 11 years ago

OmegaPhil commented 11 years ago

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?

OmegaPhil commented 11 years ago

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