2022.12.09 15:48 "[Tiff] libtiff v4.5.0 release candidate available", by Even Rouault

2022.12.11 22:34 "Re: [Tiff] libtiff v4.5.0 release candidate available", by Christoph Gohlke

One way to reproduce this regression is:

#include "tiffio.h"
int main()
{
     TIFF* tiff = TIFFOpen("gray.movie.u2.tif", "r");
     TIFFSetDirectory(tiff, 65534);
     TIFFSetDirectory(tiff, 0);
}

This passes for me on Windows with libtiff 4.4 and raises an error and prints the warning with 4.5.

I'm OK if this is not considered a blocker and can just reduce the maximum supported IFDs in the imagecodecs library by one.

Christoph