Skip to content

Conversation

@bradh
Copy link
Contributor

@bradh bradh commented Dec 18, 2023

Relates #1042.

26ec395 resolved #1042 with protection against EXIF overflow in the JPEG encoder.

However the report at #1042 was against the PNG encoder. That is addressed at #1052. The review for that identified that its possible to get an overflow in the size += 4, and it looks like that is possible in the JPEG version too.

This PR incorporates the same fix as suggested for #1052.

@farindk farindk merged commit fc9ad84 into strukturag:master Dec 18, 2023
@bradh bradh deleted the issue1042_take2 branch December 18, 2023 23:55
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.

SEGV libheif/libheif/exif.cc:88 in find_exif_tag

2 participants