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

BMP: protect against corrupt pixel coordinates #3620

Merged
merged 1 commit into from
Oct 21, 2022

Conversation

lgritz
Copy link
Collaborator

@lgritz lgritz commented Oct 21, 2022

When reading the image (which can have signals to jump around in the array), we checked for out-of-bounds x coordinate, but not y, and some corrupted files could overrun buffers as a result.

When reading the image (which can have signals to jump around in the
array), we checked for out-of-bounds x coordinate, but not y, and some
corrupted files could overrun buffers as a result.
@lgritz lgritz merged commit 5fa8d99 into AcademySoftwareFoundation:master Oct 21, 2022
@lgritz lgritz deleted the lg-bmp branch October 21, 2022 16:02
lgritz added a commit to lgritz/OpenImageIO that referenced this pull request Oct 21, 2022
…tion#3620)

When reading the image (which can have signals to jump around in the
array), we checked for out-of-bounds x coordinate, but not y, and some
corrupted files could overrun buffers as a result.
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.

1 participant