The offset to the first IFD in a TIFF file is 4 bytes long, not 2 bytes
authorguy <guy@f5534014-38df-0310-8fa8-9805f1628bb7>
Thu, 28 Oct 2004 07:50:07 +0000 (07:50 +0000)
committerguy <guy@f5534014-38df-0310-8fa8-9805f1628bb7>
Thu, 28 Oct 2004 07:50:07 +0000 (07:50 +0000)
commitb13661cd6d82f6260e427f665ea1caa64ea00210
tree1a3154efebc3e1262b2059914a58810f9b8d06c4
parente7b1af0dc3299612684b28e3809867a7c3d20b70
The offset to the first IFD in a TIFF file is 4 bytes long, not 2 bytes
long.

The offset is relative to the first byte of the TIFF structure, which is
after the "Exif\0" *and* the extra byte after "Exif\0".

Loop over all IFDs.

Sanity check the offset to the first IFD and the offset in each IFD to
the next IFD.

git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@12424 f5534014-38df-0310-8fa8-9805f1628bb7
epan/dissectors/packet-image-jfif.c