Lines Matching refs:when
59 when setting 2 or more values, but not just one.
94 on uint32 when selecting the value of SubIFD tag by runtime check
109 buffer when RowsPerStrip >= image_length in LogLuvInitState() and
116 * libtiff/tif_getimage.c: fix fromskew computation when to-be-skipped
129 properly break from loops on error when stoponerr is set, instead
135 allocation when RowsPerStrip tag is missing.
150 arrays that hold StripOffsets/StripByteCounts, when they are smaller
164 when we need a temporary buffer but the file is truncated.
205 when RowsPerStrip tag is not defined (and thus td_rowsperstrip == UINT_MAX)
222 * libtiff/tif_error.c, tif_warning.c: correctly use va_list when both
229 tif_rawdataloaded when it is set. Similarly to TIFFStartStrip().
316 and BYTECOUNTLOOKSBAD when file is too short.
359 MinGW and MSVC automatically when a branch is pushed to GitHub,
398 (when refBlackWhite[0] == 2147483648.f)
462 allocation when RowsPerStrip tag is missing.
488 mode with tif_rawdataloaded when calling TIFFStartStrip() or
490 when bytecount > tif_rawdatasize.
518 leak when the underlying codec (ZIP, PixarLog) succeeds its
553 mode (ie default) when there is both a StripOffsets and
580 the I/O amount when te tag is present (especially on cloud hosted files).
591 when read fails.
598 functions instead of -1 when TIFFFlushData1() fails.
667 JPEGSetupEncode() when horizontal or vertical sampling is set to 0.
673 10 MB instead of libjpeg 1MB default. This helps when creating files
771 * tools/tif_dir.c: when TIFFGetField(, TIFFTAG_NUMBEROFINKS, ) is called,
786 * tools/tiffinfo.c: fix null pointer dereference in -r mode when the image has
793 * tools/tiffcrop.c: fix integer division by zero when BitsPerSample is missing.
824 results in reading outside of the StripByCounts/StripOffsets arrays when
897 NULL pointer when values of tags with TIFF_SETGET_C16_ASCII / TIFF_SETGET_C32_ASCII
932 when requesting Predictor tag and that the zip/lzw codec is not
947 have no TileOffsets/StripOffsets tag, when OJPEG compression is
963 value when it is non-zero, instead of recomputing it. This is needed in
977 or buffer overflows in release mode. Can happen when dealing with
984 * tools/fax2tiff.c: fix segfault when specifying -r without
991 SMaxSampleValue when they have been read and the value of
992 SamplesPerPixel is changed afterwards (like when reading a
995 being 3). Otherwise when rewriting the directory (for example
1002 when writing directory, if FIELD_STRIPOFFSETS was artificially set
1039 t2p_readwrite_pdf_image_tile(), causing crash, when reading a
1140 buffer, when -b mode is enabled, that could result in out-of-bounds
1156 when stripoffset is beyond tmsize_t max value (reported by
1167 TIFFReadEncodedTile() directly use user provided buffer when
1171 TIFFWriteEncodedTile() directly use user provided buffer when
1178 potential invalid memory write on corrupted/unexpected images when
1215 * libtiff/tif_dirread.c: when compiled with DEFER_STRILE_LOAD,
1216 fix regression, introduced on 2014-12-23, when reading a one-strip
1278 TIFFLinkDirectory() and TIFFWriteDirectorySec() when aligning directory
1368 when JPEG is not available.
1416 when linked with a static libtiff (says: libtiff.dll not found).
1437 or 32 bit integer, when byte swapping is needed, in
1438 horizontal predictor (#2521). Also fixes decoding when there is
1453 * libtiff/tif_predict.c: operate on unsigned datatypes when
1491 fix build issues when using Cmake due to Windows large file
1546 only include it when JPEG support is available.
1573 when getopt is in a DLL and the symbols are already imported with
1845 when reading more than 65535 directories, and effectively error out when
1927 * tools/tiffdump.c: Guard against arithmetic overflow when
1932 * tools/tiff2bw.c: when Photometric=RGB, the utility only works if
1962 * tools/tiff2pdf.c: check return code of TIFFGetField() when reading
1967 * tools/tiffcp.c: fix crash when converting YCbCr JPEG-compressed to none.
1970 tiffcp crashes when converting JPEG-encoded TIFF to a different
1973 The reason is that when the input file contains JPEG data,
1990 TIFFTAG_XRESOLUTION and TIFFTAG_YRESOLUTION that cause asserts when writing
2008 all tiles/strips to include quantization tables even when the jpegtablesmode
2010 Also add explicit removal of Huffman tables when jpegtablesmode has the
2081 * tools/tiff2pdf.c: Preserve input file directory order when pages
2144 stomp all over memory when given bogus input. Fixes CVE-2013-1960.
2162 static linking by adding -lm to Libs.private when needed.
2286 * tools/tiff2pdf.c: Fail when TIFFSetDirectory() fails. This
2287 prevents core dumps or perhaps even arbitrary code execution when
2306 * libtiff/tif_jpeg.c: Fix handling when writing RGBA jpeg compressed
2341 * libtiff/tif_print.c: avoid pretty printing other fields when
2388 JPEGDecodeRaw() - mostly likely to occur when there is confusion about
2391 * libtiff/tif_read.c: Make sure tif_rawdatasize is cleared when tif_rawdata is freed.
2400 …processed as if it were a colormap when it isn't really. Damn the wide variety of argument formul…
2403 * libtiff/tif_dir.c: Ensure that we keep track of when tif_rawdata
2426 * libtiff/tif_print.c: Avoid confusion about count size when printing custom fields.
2491 * libtiff/tif_dirread.c: fix error reporting when there is no
2661 * libtiff/tif_zip.c: Maintain tif_rawcc/tif_rawcp when decoding
2809 * libtiff/tif_ojpeg.c: fix crash when reading a TIFF with a zero
2811 * tools/tiffsplit.c: abort when reading a TIFF without a byte-count
2816 * libtiff/tif_dirread.c: fix crash when reading a badly-constructed
2881 * libtiff/tif_getimage.c: Check the number of samples per pixel when
2885 * libtiff/tif_dir.c: Set the bogus post-decoding hook when processing
2886 TIFFTAG_BITSPERSAMPLE in _TIFFVSetField() for the case of 8 bit when
2910 * tools/tiff2pdf.c: Fixed computation of the tile buffer size when
2920 referencing to uninitialized memory in some cases (e.g. when tile size
2978 is reported when reading the input file.
3014 JPEGPreEncode(), not just when we want to output local tables.
3017 when seeking between directories in the midst of writing blocks.
3037 * libtiff/tif_jpeg.c: Fix to use memcmp(), not memcpy() when checking
3045 directories with jpegtables when doing updates to existing images.
3059 when the tag count value is zero. Error handling is still a
3079 * libtiff/tif_flush.c: Use TIFFRewriteDirectory() when flushing
3097 * libtiff/tif_jpeg.c: Do not generate a JPEGTables tag when creating
3113 Made so that when working with downsampled images a stub function
3195 interface when stoponerror is set.
3201 fix build with gcc when using the "-Wformat
3335 * libtiff/tif_dirread.c: Improve allocation safety when allocated
3450 * tools/tiffinfoce.c (main): Use toff_t for offset type when
3457 type now. Fixes crash when dumping files containing an EXIF IFD.
3471 * libtiff/tif_flush.c: Make sure that BEENWRITING is cleared when
3492 when constructing output file names.
3496 * tools/tiffsplit.c: Get rid of unsafe strcpy()/strcat() calls when
3520 consistent (__int64) casting when testing if _lseeki64 has
3660 This is the case when GDAL creates a new file with zero sizes, closes
3675 tools/tiff2pdf.c: Fix 64-bit warnings when compiling under MSVC 2005
3704 marked dirty on read, but only when something is changed. This
3718 Necessary to distinguish whether they need to be written to disk when
3740 data when writing the directory just because we have BEENWRITING at
3742 in a tile of data when a single tile had an interleaving of reading
3771 at best, access violation at worst, when subsampled JPEG compressed imagery
3804 when dealing with large bitspersample values, shutting up purification
3822 using LONG8 type when output format is BigTIFF. The
3840 zero when writing directory contents to preserve the ability to
3879 * libtiff/tif_dirread.c: Handle the case of MSVC 6 when using 64-bit
3925 * tools/tiff2pdf.c: Fix a compile problem when JPEG_SUPPORT is not
3968 * configure.ac: Fix typo when substituting value for unsigned 8 bit type.
3969 Added support for a TIFF_PTRDIFF_T type to use when doing pointer arithmetic.
4014 be setup on a directory when later a compressor is required with the
4064 * tools/tiff2pdf.c: Do not assume inches when the resolution units
4186 its use does not appear to be required, so use it only when it is
4318 on subsampled images - this ought to get sorted when we feel brave
4380 * tools/Makefile.am: Use runtime paths linker flags when rpath
4396 * libtiff/tif_strip.c: Take subsampling in account when calculating
4508 * tools/tiff2ps.c: Properly scale all the pages when converting
4547 * libtiff/tif_dirinfo.c: Use TIFF_NOTYPE instead of 0 when
4557 * libtiff/tif_aux.c: Return static array when fetching default
4644 * html/build.html: Added some additional instructions for when
4696 * tools/tiffcp.c: Return non-zero status when reading fails (again).
4700 * tools/tiffcp.c: Return non-zero status when reading fails.
4731 StripByteCounts tag. Handle the case when StripByteCounts array filled
4821 * tools/tiffdump.c: Fixed crash when reading malformed tags.
4843 also set it to NULL to avoid double free when re-setting custom
4928 * configure, configure.ac: Do not use empty -R option when linking
4934 reading the first IFD when needed. As per bug
4948 * tools/tiffgt.c: Use MacOS X OpenGL framework when appropriate. As
4985 * libtiff/tif_dir.c: Use _TIFFsetString() function when read custom
5006 * libtiff/tif_dirwrite.c: Use tdir_count when calling
5014 * tools/ppm2tiff.c: Fixed format string when read PPM file header with
5020 uint16 array when fetching the BYTE and SBYTE filds, so we should
5275 * libtiff/tif_pixarlog.c: Avoid warnings when converting float to
5327 * tools/tiffdump.c: Fixed problem when read broken TIFFs with the
5357 * libtiff/tif_dirread.c: Do not forget about TIFF_VARIABLE2 when
5518 * libtiff/tif_dirread.c: Fixed problem when fetching BitsPerSample and
5536 field. The caller should supply a count when setting this field. As
5556 * tools/tiff2ps.c: Fixed wrong variable data type when read Position
5567 choosing when the incorrect Group4Options tag set. As per bug
5572 wrong type when writing the TIFF_BYTE/TIFF_SBYTE tags in
5577 * tools/tiff2ps.c: Fixed wrong variable data type when read Resolution
5834 SamplesPerPixel size when the tag count is greater than number of
5936 when setting custom tags by value. Reported by Eric Fieleke.
6057 * tools/tiffcp.c: Don't emit warnings when Orientation tag does not
6067 TIFFClientOpen() when the appropriate client functions was not
6169 * libtiff/tif_win32.c: Fixed problem with _TIFFrealloc() when the NULL
6202 Added support for ReferenceBlackWhite tag handling when converted from
6396 * libtiff/tiffcomp.h: #define _BSDTYPES_DEFINED when defining BSD
6479 * tools/tiff2ps.c: Added page size setting when creating PS Level 2.
6483 * tools/tiff2ps.c: Fixed PS comment emitted when FlateDecode is
6508 would be done when reading. This allows us to write pixel data with
6564 * libtiff/tif_print.c: fixed some serious bugs when printing
6618 * libtiff/mkversion.c: Fixed problem with wrong string size when
6658 * tools/tiff2ps.c: Force deadzone printing when EPS output specified
6785 the scanline buffer long enough when writing rgb triplets.
6950 when last strip of image contains fewer number of scanlines than
7034 tif_dirread.c when TIFFCreateAnonFieldInfo was introduced.
7101 won't work when tags with uknown sizes founded.
7121 be stripped when installing, utility binaries will do. Closes
7327 when checking for 64 bit architectures as per bugzilla bug 67.
7695 because the compressor/decompressor code gets very confused when
7732 error when TIFF_BEENWRITING is not set. This ensures that the
7766 won't include it when building with __CYGWIN__.
7879 * Set tif_rawdatasize to zero when freeing raw data buffer in
7884 * Fix bug in tif_write.c when switching between reading one directory
7914 when LZW compression invoked.
8066 colormaps owned by the TIFF handle itself when trying to fixup wrong