Menu

#157 Fix integer wrap around and segmentation fault in Exif.cpp

open
nobody
None
5
2023-02-15
2023-02-15
Anonymous
No

In Metadata/Exif.cpp in jpeg_read_exif_profile() the size of exif_signature is subtracted from dwProfileLength without checking if the profile length was big enough to hold the exif signature. This patch aborts jpeg_read_exif_profile() if the profile is not long enough.

1 Attachments

Discussion

Anonymous
Anonymous

Add attachments
Cancel