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

Fix file position desync when calling into libtiff #8560

Open
wants to merge 6 commits into
base: main
Choose a base branch
from

Conversation

Knio
Copy link

@Knio Knio commented Nov 20, 2024

Fixes #8559

Changes proposed in this pull request:

  • Save and restore file handle position when passing file handle to libtiff

@radarhere radarhere added the TIFF label Nov 20, 2024
@radarhere radarhere mentioned this pull request Nov 20, 2024
[
"Tests/images/old-style-jpeg-compression-no-samplesperpixel.tif",
"Tests/images/old-style-jpeg-compression.tif",
],
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is there anything different between these two files that means that one might conceivably fail where the other wouldn't? Or are you just testing two to be thorough?

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

No, these were just the files that reproduced the issue

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

TIFF image loading EXIF corruption
2 participants