Ticket1175
Added by LaserSoft Imaging over 5 years ago
We have found out that the reason for the issue reported in #1175 is the usage of signed offsets instead of unsigned and the following 2 changes in tiffvisitor.cpp fix it for us:
1347c1347 < int32_t offset = getLong(object->pData() + 4*i, byteOrder()); --- > uint32_t offset = getLong(object->pData() + 4*i, byteOrder()); 1494c1494 < int32_t offset = getLong(p, byteOrder()); --- > uint32_t offset = getLong(p, byteOrder());
Please consider integrating this fix in the next release.
P.S. sorry for not providing the SVN-style patch file, I hope since this is just two letters added (*u*int32_t in 2 places) you can reapply it manually or somehow use the attached diff file.