Crash with unknown lens tags in DNG
This is a crash in Darktable (http://darktable.sf.net/) when DNGs with unknown lens tags are read via exiv2.
The DT devs have confirmed the bug is present in exiv2 0.19 and 0.21.
Updated by Andreas Huggel over 7 years ago
It appears that the makernote in the attached DNG is corrupted. Exiftool says
Warning : [minor] Possibly incorrect maker notes offsets (fix by 17080?)
and has an algorithm to guess the correct offset. Exiv2 doesn't, it uses the wrong offset to get (among others) the lens type which results in garbage output as reported.
As a workaround, check if Exiftool can fix the makernote by writing the guessed offset back into the image.
I'll consider adding a similar guessing algorithm to Exiv2 to handle such cases.
Updated by Robin Mills about 3 years ago
- Category set to image format
- Status changed from New to Assigned
- Assignee set to Robin Mills
This issue has been in the database for 4 years and nobody else has requested progress with this matter. So, unless you engage to persuade me to keep this matter alive, it will be closed on April 30 as “no longer needed/wanted.