New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
integer overflow in hashlib causes wrong results for cryptographic hash functions [was: mmap broken with large files on 64bit system] #47276
Comments
mmap on large files on 64 bit platforms in python >=2.5 returns some This is python2.5 from Ubuntu 8.04 AMD64 This is python svn as of 20080601, compiled the on same system. Also note how the python md5 call returns immediately, not something you |
Actually, I just realized that this might be a problem with md5 module |
I tested this with python 2.6 and can confirm the issue. |
the same bug also occurs when computing the md5 of a string larger than |
So would anybody like to contribute a patch? |
this patch adds a digest_update function. testbigfile.py however now works. |
same issue in http://bugs.python.org/issue3886. |
Ok, closing. Thanks for the patch, anyway. |
Note: these values reflect the state of the issue at the time it was migrated and might not reflect the current state.
Show more details
GitHub fields:
bugs.python.org fields:
The text was updated successfully, but these errors were encountered: