ChopUpSingleUncompressedStrip: avoid memory exhaustion (CVE-2017-11613)
requested to merge rouault/libtiff:avoid_memory_exhaustion_in_ChopUpSingleUncompressedStrip into master
In ChopUpSingleUncompressedStrip(), if the computed number of strips is big enough and we are in read only mode, validate that the file size is consistent with that number of strips to avoid useless attempts at allocating a lot of memory for the td_stripbytecount and td_stripoffset arrays.