Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Cast TIFFSetField length args to uint32 #4483

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

Merged
merged 4 commits into from
Apr 30, 2025
Merged

Conversation

jcupitt
Copy link
Member

@jcupitt jcupitt commented Apr 29, 2025

We were passing size_t to TIFFSetField() to set the length of binary objects like ICC profiles. However, TIFFSetField() is a varargs function that expects a uint32_t for these tags.

jcupitt added 3 commits April 29, 2025 10:57
Photoshop uses another private tag to store some extra document data.

see #4478
but the improvement to TIFFSetField() seems worth keeping
@jcupitt jcupitt changed the title Add photoshop image data Cast TIFFSetField length args to uint32 Apr 30, 2025
@jcupitt jcupitt merged commit 08afac5 into master Apr 30, 2025
13 checks passed
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