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

Bug in write_sect() data length check #113

Open
BeetleChunks opened this issue Mar 1, 2019 · 0 comments
Open

Bug in write_sect() data length check #113

BeetleChunks opened this issue Mar 1, 2019 · 0 comments
Assignees
Labels
Milestone

Comments

@BeetleChunks
Copy link

When checking the length of the data to write to a sector, the code correctly checks if it is smaller than the sector size, but fails to check if the data is larger than the sector size because the same comparison operator is used. The elif statement should have a ">" sign.

@decalage2 decalage2 self-assigned this Mar 2, 2019
@decalage2 decalage2 added the bug label Mar 2, 2019
@decalage2 decalage2 added this to the olefile 0.47 milestone Mar 2, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants