Skip to content
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

Pointer out of range when reading corrupted file #674

Merged
merged 9 commits into from
Mar 25, 2022

Conversation

david32
Copy link
Contributor

@david32 david32 commented Mar 24, 2022

Encountered with a corrupted file.
There is a python exception when the address in the corrupted file is way outside the file size.

added mdf exception to stop reading the file.

One issue is with mmap, it doesn't contain the name of the file that its reading, so the exception message doesn't contain the name of the file.

  • Automatic Black formatting

@danielhrisca danielhrisca merged commit c827157 into danielhrisca:development Mar 25, 2022
@danielhrisca
Copy link
Owner

Thank you David

@david32 david32 deleted the Pointer-out-of-range branch December 21, 2022 18:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants