A couple problems with corrupted Olympus-style MakerNote tags are fixed. First, corrupted MakerNote tags are dropped instead of causing the tag to be filled with garbage data. Second, a bug in some Sanyo cameras causes the MNOTE_OLYMPUS_TAG_THUMBNAILIMAGE data offset to be stored as an absolute offset in the file instead of relative to the IFD. An attempt is now made to detect and work around this problem.
A couple problems with corrupted Olympus-style MakerNote tags are fixed.
First, corrupted MakerNote tags are dropped instead of causing the tag
to be filled with garbage data. Second, a bug in some Sanyo cameras
causes the MNOTE_OLYMPUS_TAG_THUMBNAILIMAGE data offset to be stored
as an absolute offset in the file instead of relative to the IFD. An
attempt is now made to detect and work around this problem.

wang-bin/libexif-port,wang-bin/libexif-port