Skip to content

Conversation

@fm3
Copy link

@fm3 fm3 commented Apr 6, 2025

Hi @sylikc and contributors, and thanks for your excellent work maintaining jpegview!

I assume that these pointer checks are designed as a guard to abort the EXIFReader in case of malformed EXIF data. They are, however, too strict. The “equal” case is fine, no header regions overlap in this case.

Some of my images show no exif data without this fix, and with it, everything works.

Illustration of an example memory layout:

image

@fm3 fm3 mentioned this pull request Apr 6, 2025
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