Bug in Nikon Transfer 6.2.5 W
Prepared 2005-05 by Bill Claff

 

Bug in Nikon Transfer 6.2.5 W

2006-08-23 (196/18750)

I found this problem inspecting a corrupt file for a Nikonian.
It may be in other versions of Nikon Transfer as well.

The Makernote TIFF directory is written as if it has one more directory entry and also all directory entry pointers are 12 bytes too high as a result.

For geeks here is a portion of the corrupt file with corrections to the right of the '->':

4D 4D
00 2A
00 00 00 08
00 33->00 32
00 01 00 07 00 00 00 04 30 32 31 30
00 02 00 03 00 00 00 02 00 00 00 64
00 03 00 02 00 00 00 06 00 00 02 72->00 00 02 66
00 04 00 02 00 00 00 08 00 00 02 78->00 00 02 6C
00 05 00 02 00 00 00 0D 00 00 02 80->00 00 02 74
00 06 00 02 00 00 00 07 00 00 02 8E->00 00 02 82
00 07 00 02 00 00 00 07 00 00 02 96->00 00 02 8A
00 08 00 02 00 00 00 0D 00 00 02 9E->00 00 02 92
00 09 00 02 00 00 00 0D 00 00 02 AC->00 00 02 A0
00 0B 00 08 00 00 00 01 00 00 00 00
00 0C 00 05 00 00 00 04 00 00 02 BA->00 00 02 AE
00 0D 00 07 00 00 00 04 00 01 06 00
...


Also for geeks, there is a minor bug in the TIFF directory; the IPTC_NAA tag has been added out of order.
Here is the snippet:

02 14 00 05 00 00 00 06 00 00 01 AE
87 69 00 04 00 00 00 01 00 00 02 32
88 25 00 04 00 00 00 01 00 00 04 50
83 BB 00 04 00 00 00 10 00 00 01 DE
90 03 00 02 00 00 00 14 00 00 02 1E
92 16 00 01 00 00 00 04 01 00 00 00