2019.10.01 18:01 "[Tiff] TIFF_IO_MAX too large for Windows XP", by David C. Partridge

2019.10.01 19:10 "Re: [Tiff] TIFF_IO_MAX too large for Windows XP", by Bob Friesenhahn

For now I have changed the #define for TIFF_IO_MAX thus:

//#define TIFF_IO_MAX 2147483647U
#define TIFF_IO_MAX USHRT_MAX

which limits the request size to 65535.

Does anyone know what the actual limit was on Windows XP? If higher than 65535 I'd like to increase the defined limit.

Would the libtiff maintainers consider changing this to an appropriate smaller value?

I have never heard of this limit before. It is possible that the limit is a result of the SDK used rather than the major OS release.

You used the operative term "was". Windows XP is abandoned by the world at large.

If there is a way to intuit the limit so that it only takes effect on a system with the problem, then that is worthy of consideration.

Bob
--
Bob Friesenhahn
bfriesen@simple.dallas.tx.us, http://www.simplesystems.org/users/bfriesen/
GraphicsMagick Maintainer, http://www.GraphicsMagick.org/

Public Key, http://www.simplesystems.org/users/bfriesen/public-key.txt