Skip to content

fix(tiff): more care ignoring XMP tags that should not be used#5162

Open
lgritz wants to merge 1 commit intoAcademySoftwareFoundation:mainfrom
lgritz:lg-xmptiff
Open

fix(tiff): more care ignoring XMP tags that should not be used#5162
lgritz wants to merge 1 commit intoAcademySoftwareFoundation:mainfrom
lgritz:lg-xmptiff

Conversation

@lgritz
Copy link
Copy Markdown
Collaborator

@lgritz lgritz commented Apr 23, 2026

Guard against corrupt XMP blocks with TIFF related names: if the XMP item starts with "tiff:", just ignore it if it's not one of the few TIFF-related XMP items we recognize of if it's marked redundant, and don't replace a TIFF related item that already had a value in the spec.

Fixes #5157

Guard against corrupt XMP blocks with TIFF related names: if the XMP
item starts with "tiff:", just ignore it if it's not one of the few
TIFF-related XMP items we recognize of if it's marked redundant, and
don't *replace* a TIFF related item that already had a value in the
spec.

Signed-off-by: Larry Gritz <lg@larrygritz.com>
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.

bug: division-by-zero in round_to_multiple (src/include/OpenImageIO/fmath.h:205)

1 participant