Blame html/v4.0.7.html

Packit 85355f
<HTML>
Packit 85355f
<HEAD>
Packit 85355f
<TITLE>
Packit 85355f
	Changes in TIFF v4.0.7
Packit 85355f
</TITLE>
Packit 85355f
</HEAD>
Packit 85355f
Packit 85355f
<BODY BGCOLOR=white>
Packit 85355f
<FONT FACE="Helvetica, Arial, Sans">
Packit 85355f
Packit 85355f
<BASEFONT SIZE=4>
Packit 85355f
<FONT SIZE=+3>T</FONT>IFF <FONT SIZE=+2>C</FONT>HANGE <FONT SIZE=+2>I</FONT>NFORMATION
Packit 85355f
<BASEFONT SIZE=3>
Packit 85355f
Packit 85355f
    Packit 85355f

    Packit 85355f
    Current Version: v4.0.7
    Packit 85355f
    Previous Version: v4.0.6
    Packit 85355f
    Master FTP Site: 
    Packit 85355f
    download.osgeo.org, directory pub/libtiff
    Packit 85355f
    Master HTTP Site #1: 
    Packit 85355f
    http://www.simplesystems.org/libtiff/
    Packit 85355f
    Master HTTP Site #2: 
    Packit 85355f
    http://libtiff.maptools.org/ 
    Packit 85355f

    Packit 85355f
    Packit 85355f
    Packit 85355f

    Packit 85355f
    This document describes the changes made to the software between the
    Packit 85355f
    previous and current versions (see above).  If you don't
    Packit 85355f
    find something listed here, then it was not done in this timeframe, or
    Packit 85355f
    it was not considered important enough to be mentioned.  The following
    Packit 85355f
    information is located here:
    Packit 85355f
      Packit 85355f
    • Major Changes
    • Packit 85355f
    • Changes in the software configuration
    • Packit 85355f
    • Changes in libtiff
    • Packit 85355f
    • Changes in the tools
    • Packit 85355f
    • Changes in the contrib area
    • Packit 85355f
      Packit 85355f

      Packit 85355f


      Packit 85355f
      Packit 85355f
      Packit 85355f
      Packit 85355f
      <FONT SIZE=+3>M</FONT>AJOR CHANGES:
      Packit 85355f
      Packit 85355f
        Packit 85355f
        Packit 85355f
        	
      • The libtiff tools bmp2tiff, gif2tiff, ras2tiff, sgi2tiff,
      • Packit 85355f
                sgisv, and ycbcr are completely removed from the distribution.
        Packit 85355f
                These tools were written in the late 1980s and early 1990s for
        Packit 85355f
                test and demonstration purposes.  In some cases the tools were
        Packit 85355f
                never updated to support updates to the file format, or the
        Packit 85355f
                file formats are now rarely used.  In all cases these tools
        Packit 85355f
                increased the libtiff security and maintenance exposure beyond
        Packit 85355f
                the value offered by the tool.
        Packit 85355f
        Packit 85355f
        Packit 85355f
        Packit 85355f
        Packit 85355f


        Packit 85355f
        Packit 85355f
        Packit 85355f
        <FONT SIZE=+3>C</FONT>HANGES IN THE SOFTWARE CONFIGURATION:
        Packit 85355f
        Packit 85355f
          Packit 85355f
          Packit 85355f
            
        • None
        • Packit 85355f
          Packit 85355f
          Packit 85355f
          Packit 85355f


          Packit 85355f
          Packit 85355f
          Packit 85355f
          Packit 85355f
          <FONT SIZE=+3>C</FONT>HANGES IN LIBTIFF:
          Packit 85355f
          Packit 85355f
            Packit 85355f
            Packit 85355f
                
          • libtiff/tif_dirread.c: in TIFFFetchNormalTag(), do not
          • Packit 85355f
                    dereference NULL pointer when values of tags with
            Packit 85355f
                    TIFF_SETGET_C16_ASCII / TIFF_SETGET_C32_ASCII access are
            Packit 85355f
                    0-byte arrays.  Fixes
            Packit 85355f
                    http://bugzilla.maptools.org/show_bug.cgi?id=2593 (regression
            Packit 85355f
                    introduced by previous fix done on 2016-11-11 for
            Packit 85355f
                    CVE-2016-9297).  Reported by Henri Salo. Assigned as
            Packit 85355f
                    CVE-2016-9448
            Packit 85355f
            Packit 85355f
                
          • libtiff/tif_aux.c: fix crash in TIFFVGetFieldDefaulted() when
          • Packit 85355f
                    requesting Predictor tag and that the zip/lzw codec is not
            Packit 85355f
                    configured.  Fixes
            Packit 85355f
                    http://bugzilla.maptools.org/show_bug.cgi?id=2591
            Packit 85355f
            Packit 85355f
                
          • libtiff/tif_dirread.c: in TIFFFetchNormalTag(), make sure
          • Packit 85355f
                    that values of tags with TIFF_SETGET_C16_ASCII /
            Packit 85355f
                    TIFF_SETGET_C32_ASCII access are null terminated, to avoid
            Packit 85355f
                    potential read outside buffer in _TIFFPrintField().  Fixes
            Packit 85355f
                    http://bugzilla.maptools.org/show_bug.cgi?id=2590
            Packit 85355f
            Packit 85355f
                
          • libtiff/tif_dirread.c: reject images with OJPEG compression
          • Packit 85355f
                    that have no TileOffsets/StripOffsets tag, when OJPEG
            Packit 85355f
                    compression is disabled. Prevent null pointer dereference in
            Packit 85355f
                    TIFFReadRawStrip1() and other functions that expect
            Packit 85355f
                    td_stripbytecount to be non NULL.  Fixes
            Packit 85355f
                    http://bugzilla.maptools.org/show_bug.cgi?id=2585
            Packit 85355f
            Packit 85355f
                
          • libtiff/tif_strip.c: make TIFFNumberOfStrips() return the
          • Packit 85355f
                    td->td_nstrips value when it is non-zero, instead of
            Packit 85355f
                    recomputing it. This is needed in TIFF_STRIPCHOP mode where
            Packit 85355f
                    td_nstrips is modified. Fixes a read outsize of array in
            Packit 85355f
                    tiffsplit (or other utilities using TIFFNumberOfStrips()).
            Packit 85355f
                    Fixes http://bugzilla.maptools.org/show_bug.cgi?id=2587
            Packit 85355f
                    (CVE-2016-9273)
            Packit 85355f
            Packit 85355f
                
          • libtiff/tif_predict.h, libtiff/tif_predict.c: Replace
          • Packit 85355f
                    assertions by runtime checks to avoid assertions in debug
            Packit 85355f
                    mode, or buffer overflows in release mode. Can happen when
            Packit 85355f
                    dealing with unusual tile size like YCbCr with
            Packit 85355f
                    subsampling. Reported as MSVR 35105 by Axel Souchet & Vishal
            Packit 85355f
                    Chauhan from the MSRC Vulnerabilities & Mitigations
            Packit 85355f
            Packit 85355f
                
          • libtiff/tif_dir.c: discard values of SMinSampleValue and
          • Packit 85355f
                    SMaxSampleValue when they have been read and the value of
            Packit 85355f
                    SamplesPerPixel is changed afterwards (like when reading a
            Packit 85355f
                    OJPEG compressed image with a missing SamplesPerPixel tag, and
            Packit 85355f
                    whose photometric is RGB or YCbCr, forcing SamplesPerPixel
            Packit 85355f
                    being 3). Otherwise when rewriting the directory (for example
            Packit 85355f
                    with tiffset, we will expect 3 values whereas the array had
            Packit 85355f
                    been allocated with just one), thus causing a out of bound
            Packit 85355f
                    read access.  Fixes
            Packit 85355f
                    http://bugzilla.maptools.org/show_bug.cgi?id=2500
            Packit 85355f
                    (CVE-2014-8127, duplicate: CVE-2016-3658)
            Packit 85355f
            Packit 85355f
                
          • libtiff/tif_dirwrite.c: avoid null pointer dereference on
          • Packit 85355f
                    td_stripoffset when writing directory, if FIELD_STRIPOFFSETS
            Packit 85355f
                    was artificially set for a hack case in OJPEG case.  Fixes
            Packit 85355f
                    http://bugzilla.maptools.org/show_bug.cgi?id=2500
            Packit 85355f
                    (CVE-2014-8127, duplicate: CVE-2016-3658)
            Packit 85355f
            Packit 85355f
                
          • libtiff/tif_getimage.c (TIFFRGBAImageOK): Reject attempts to
          • Packit 85355f
                    read floating point images.
            Packit 85355f
            Packit 85355f
                
          • libtiff/tif_predict.c (PredictorSetup): Enforce
          • Packit 85355f
                    bits-per-sample requirements of floating point predictor (3).
            Packit 85355f
                    Fixes CVE-2016-3622 "Divide By Zero in the tiff2rgba tool."
            Packit 85355f
            Packit 85355f
                
          • libtiff/tif_pixarlog.c: fix out-of-bounds write vulnerabilities
          • Packit 85355f
                    in heap allocated buffers. Reported as MSVR 35094. Discovered by
            Packit 85355f
                    Axel Souchet and Vishal Chauhan from the MSRC Vulnerabilities &
            Packit 85355f
                    Mitigations team.
            Packit 85355f
            Packit 85355f
                
          • libtiff/tif_write.c: fix issue in error code path of
          • Packit 85355f
                    TIFFFlushData1() that didn't reset the tif_rawcc and tif_rawcp
            Packit 85355f
                    members. I'm not completely sure if that could happen in
            Packit 85355f
                    practice outside of the odd behaviour of t2p_seekproc() of
            Packit 85355f
                    tiff2pdf). The report points that a better fix could be to
            Packit 85355f
                    check the return value of TIFFFlushData1() in places where it
            Packit 85355f
                    isn't done currently, but it seems this patch is enough.
            Packit 85355f
                    Reported as MSVR 35095. Discovered by Axel Souchet & Vishal
            Packit 85355f
                    Chauhan & Suha Can from the MSRC Vulnerabilities & Mitigations
            Packit 85355f
                    team.
            Packit 85355f
            Packit 85355f
                
          • libtiff/tif_pixarlog.c: Fix write buffer overflow in
          • Packit 85355f
                    PixarLogEncode if more input samples are provided than
            Packit 85355f
                    expected by PixarLogSetupEncode.  Idea based on
            Packit 85355f
                    libtiff-CVE-2016-3990.patch from
            Packit 85355f
                    libtiff-4.0.3-25.el7_2.src.rpm by Nikola Forro, but with
            Packit 85355f
                    different and simpler check. (bugzilla #2544)
            Packit 85355f
            Packit 85355f
                
          • libtiff/tif_read.c: Fix out-of-bounds read on memory-mapped
          • Packit 85355f
                    files in TIFFReadRawStrip1() and TIFFReadRawTile1() when
            Packit 85355f
                    stripoffset is beyond tmsize_t max value (reported by Mathias
            Packit 85355f
                    Svensson)
            Packit 85355f
            Packit 85355f
                
          • libtiff/tif_read.c: make TIFFReadEncodedStrip() and
          • Packit 85355f
                    TIFFReadEncodedTile() directly use user provided buffer when
            Packit 85355f
                    no compression (and other conditions) to save a memcpy()
            Packit 85355f
            Packit 85355f
                
          • libtiff/tif_write.c: make TIFFWriteEncodedStrip() and
          • Packit 85355f
                    TIFFWriteEncodedTile() directly use user provided buffer when
            Packit 85355f
                    no compression to save a memcpy().
            Packit 85355f
            Packit 85355f
                
          • libtiff/tif_luv.c: validate that for COMPRESSION_SGILOG and
          • Packit 85355f
                    PHOTOMETRIC_LOGL, there is only one sample per pixel. Avoid
            Packit 85355f
                    potential invalid memory write on corrupted/unexpected images
            Packit 85355f
                    when using the TIFFRGBAImageBegin() interface (reported by
            Packit 85355f
                    Clay Wood)
            Packit 85355f
            Packit 85355f
                
          • libtiff/tif_pixarlog.c: fix potential buffer write overrun in
          • Packit 85355f
                    PixarLogDecode() on corrupted/unexpected images (reported by
            Packit 85355f
                    Mathias Svensson) (CVE-2016-5875)
            Packit 85355f
            Packit 85355f
                
          • libtiff/libtiff.def: Added _TIFFMultiply32 and
          • Packit 85355f
                    _TIFFMultiply64 to libtiff.def
            Packit 85355f
            Packit 85355f
                 
          • libtiff/tif_config.vc.h (HAVE_SNPRINTF): Add a '1' to the
          • Packit 85355f
                    HAVE_SNPRINTF definition.
            Packit 85355f
            Packit 85355f
                
          • libtiff/tif_config.vc.h (HAVE_SNPRINTF): Applied patch by
          • Packit 85355f
                    Edward Lam to define HAVE_SNPRINTF for Visual Studio 2015.
            Packit 85355f
            Packit 85355f
                
          • libtiff/tif_dirread.c: when compiled with DEFER_STRILE_LOAD,
          • Packit 85355f
                    fix regression, introduced on 2014-12-23, when reading a
            Packit 85355f
                    one-strip file without a StripByteCounts tag. GDAL #6490
            Packit 85355f
            Packit 85355f
                
          • libtiff/*: upstream typo fixes (mostly contributed by Kurt
          • Packit 85355f
                    Schwehr) coming from GDAL internal libtiff
            Packit 85355f
            Packit 85355f
                
          • libtiff/tif_fax3.h: make Param member of TIFFFaxTabEnt
          • Packit 85355f
                    structure a uint16 to reduce size of the binary.
            Packit 85355f
            Packit 85355f
                
          • libtiff/tif_read.c, tif_dirread.c: fix indentation issues
          • Packit 85355f
                    raised by GCC 6 -Wmisleading-indentation
            Packit 85355f
            Packit 85355f
                
          • libtiff/tif_pixarlog.c: avoid zlib error messages to pass a
          • Packit 85355f
                    NULL string to %s formatter, which is undefined behaviour in
            Packit 85355f
                    sprintf().
            Packit 85355f
            Packit 85355f
                
          • libtiff/tif_next.c: fix potential out-of-bound write in NeXTDecode()
          • Packit 85355f
                    triggered by http://lcamtuf.coredump.cx/afl/vulns/libtiff5.tif
            Packit 85355f
                    (bugzilla #2508)
            Packit 85355f
            Packit 85355f
                
          • libtiff/tif_luv.c: fix potential out-of-bound writes in
          • Packit 85355f
                    decode functions in non debug builds by replacing assert()s by
            Packit 85355f
                    regular if checks (bugzilla #2522).  Fix potential
            Packit 85355f
                    out-of-bound reads in case of short input data.
            Packit 85355f
            Packit 85355f
                
          • libtiff/tif_getimage.c: fix out-of-bound reads in
          • Packit 85355f
                    TIFFRGBAImage interface in case of unsupported values of
            Packit 85355f
                    SamplesPerPixel/ExtraSamples for LogLUV / CIELab. Add explicit
            Packit 85355f
                    call to TIFFRGBAImageOK() in TIFFRGBAImageBegin(). Fix
            Packit 85355f
                    CVE-2015-8665 reported by limingxing and CVE-2015-8683
            Packit 85355f
                    reported by zzf of Alibaba.
            Packit 85355f
            Packit 85355f
                
          • libtiff/tif_dirread.c: workaround false positive warning of
          • Packit 85355f
                    Clang Static Analyzer about null pointer dereference in
            Packit 85355f
                    TIFFCheckDirOffset().
            Packit 85355f
            Packit 85355f
                
          • libtiff/tif_fax3.c: remove dead assignment in
          • Packit 85355f
                    Fax3PutEOLgdal(). Found by Clang Static Analyzer
            Packit 85355f
            Packit 85355f
                
          • libtiff/tif_dirwrite.c: fix truncation to 32 bit of file
          • Packit 85355f
                    offsets in TIFFLinkDirectory() and TIFFWriteDirectorySec()
            Packit 85355f
                    when aligning directory offsets on a even offset (affects
            Packit 85355f
                    BigTIFF). This was a regression of the changeset of
            Packit 85355f
                    2015-10-19.
            Packit 85355f
            Packit 85355f
                
          • libtiff/tif_write.c: TIFFWriteEncodedStrip() and
          • Packit 85355f
                    TIFFWriteEncodedTile() should return -1 in case of failure of
            Packit 85355f
                    tif_encodestrip() as documented
            Packit 85355f
            Packit 85355f
                
          • libtiff/tif_dumpmode.c: DumpModeEncode() should return 0 in
          • Packit 85355f
                    case of failure so that the above mentionned functions detect
            Packit 85355f
                    the error.
            Packit 85355f
            Packit 85355f
                
          • libtiff/*.c: fix MSVC warnings related to cast shortening and
          • Packit 85355f
                    assignment within conditional expression
            Packit 85355f
            Packit 85355f
                
          • libtiff/*.c: fix clang -Wshorten-64-to-32 warnings
          • Packit 85355f
            Packit 85355f
                
          • libtiff/tif_dirread.c: prevent reading ColorMap or
          • Packit 85355f
                    TransferFunction if BitsPerPixel > 24, so as to avoid huge
            Packit 85355f
                    memory allocation and file read attempts
            Packit 85355f
            Packit 85355f
                
          • libtiff/tif_dirread.c: remove duplicated assignment (reported
          • Packit 85355f
                    by Clang static analyzer)
            Packit 85355f
            Packit 85355f
                
          • libtiff/tif_dir.c, libtiff/tif_dirinfo.c,
          • Packit 85355f
                    libtiff/tif_compress.c, libtiff/tif_jpeg_12.c: suppress
            Packit 85355f
                    warnings about 'no previous declaration/prototype'
            Packit 85355f
            Packit 85355f
                
          • libtiff/tiffiop.h, libtiff/tif_dirwrite.c: suffix constants
          • Packit 85355f
                    by U to fix 'warning: negative integer implicitly converted to
            Packit 85355f
                    unsigned type' warning (part of -Wconversion)
            Packit 85355f
            Packit 85355f
                
          • libtiff/tif_dir.c, libtiff/tif_dirread.c,
          • Packit 85355f
                      libtiff/tif_getimage.c, libtiff/tif_print.c: fix -Wshadow
            Packit 85355f
                      warnings (only in libtiff/)
            Packit 85355f
            Packit 85355f
            Packit 85355f
            Packit 85355f


            Packit 85355f
            Packit 85355f
            Packit 85355f
            	
            Packit 85355f
            <FONT SIZE=+3>C</FONT>HANGES IN THE TOOLS:
            Packit 85355f
            Packit 85355f
              Packit 85355f
              Packit 85355f
                  
            • tools/Makefile.am: The libtiff tools bmp2tiff, gif2tiff,
            • Packit 85355f
                      ras2tiff, sgi2tiff, sgisv, and ycbcr are completely removed
              Packit 85355f
                      from the distribution.  The libtiff tools rgb2ycbcr and
              Packit 85355f
                      thumbnail are only built in the build tree for testing.  Old
              Packit 85355f
                      files are put in new 'archive' subdirectory of the source
              Packit 85355f
                      repository, but not in distribution archives.  These changes
              Packit 85355f
                      are made in order to lessen the maintenance burden.
              Packit 85355f
              Packit 85355f
                  
            • tools/tiff2pdf.c: avoid undefined behaviour related to
            • Packit 85355f
                      overlapping of source and destination buffer in memcpy() call
              Packit 85355f
                      in t2p_sample_rgbaa_to_rgb() Fixes
              Packit 85355f
                      http://bugzilla.maptools.org/show_bug.cgi?id=2577
              Packit 85355f
              Packit 85355f
                  
            • tools/tiff2pdf.c: fix potential integer overflows on 32 bit
            • Packit 85355f
                      builds in t2p_read_tiff_size() Fixes
              Packit 85355f
                      http://bugzilla.maptools.org/show_bug.cgi?id=2576
              Packit 85355f
              Packit 85355f
                  
            • tools/fax2tiff.c: fix segfault when specifying -r without
            • Packit 85355f
                      argument. Patch by Yuriy M. Kaminskiy.  Fixes
              Packit 85355f
                      http://bugzilla.maptools.org/show_bug.cgi?id=2572
              Packit 85355f
              Packit 85355f
                  
            • tools/tiffinfo.c: fix out-of-bound read on some tiled images.
            • Packit 85355f
                      (http://bugzilla.maptools.org/show_bug.cgi?id=2517)
              Packit 85355f
              Packit 85355f
                  
            • tools/tiffcrop.c: fix multiple uint32 overflows in
            • Packit 85355f
                      writeBufferToSeparateStrips(), writeBufferToContigTiles() and
              Packit 85355f
                      writeBufferToSeparateTiles() that could cause heap buffer
              Packit 85355f
                      overflows.  Reported by Henri Salo from Nixu Corporation.
              Packit 85355f
                      Fixes http://bugzilla.maptools.org/show_bug.cgi?id=2592
              Packit 85355f
              Packit 85355f
                  
            • tools/tiffcrop.c: fix out-of-bound read of up to 3 bytes in
            • Packit 85355f
                      readContigTilesIntoBuffer(). Reported as MSVR 35092 by Axel
              Packit 85355f
                      Souchet & Vishal Chauhan from the MSRC Vulnerabilities &
              Packit 85355f
                      Mitigations team.
              Packit 85355f
              Packit 85355f
                  
            • tools/tiff2pdf.c: fix write buffer overflow of 2 bytes on
            • Packit 85355f
                      JPEG compressed images. Reported by Tyler Bohan of Cisco Talos
              Packit 85355f
                      as TALOS-CAN-0187 / CVE-2016-5652.  Also prevents writing 2
              Packit 85355f
                      extra uninitialized bytes to the file stream.
              Packit 85355f
              Packit 85355f
                  
            • tools/tiffcp.c: fix out-of-bounds write on tiled images with odd
            • Packit 85355f
                      tile width vs image width. Reported as MSVR 35103
              Packit 85355f
                      by Axel Souchet and Vishal Chauhan from the MSRC Vulnerabilities &
              Packit 85355f
                      Mitigations team.
              Packit 85355f
              Packit 85355f
                  
            • tools/tiff2pdf.c: fix read -largely- outsize of buffer in
            • Packit 85355f
                      t2p_readwrite_pdf_image_tile(), causing crash, when reading a
              Packit 85355f
                      JPEG compressed image with TIFFTAG_JPEGTABLES length being
              Packit 85355f
                      one.  Reported as MSVR 35101 by Axel Souchet and Vishal
              Packit 85355f
                      Chauhan from the MSRC Vulnerabilities & Mitigations team.
              Packit 85355f
              Packit 85355f
                  
            • tools/tiffcp.c: fix read of undefined variable in case of
            • Packit 85355f
                      missing required tags. Found on test case of MSVR 35100.
              Packit 85355f
              Packit 85355f
                  
            • tools/tiffcrop.c: fix read of undefined buffer in
            • Packit 85355f
                      readContigStripsIntoBuffer() due to uint16 overflow. Probably
              Packit 85355f
                      not a security issue but I can be wrong. Reported as MSVR
              Packit 85355f
                      35100 by Axel Souchet from the MSRC Vulnerabilities &
              Packit 85355f
                      Mitigations team.
              Packit 85355f
              Packit 85355f
                  
            • tools/tiffcrop.c: fix various out-of-bounds write
            • Packit 85355f
                      vulnerabilities in heap or stack allocated buffers. Reported
              Packit 85355f
                      as MSVR 35093, MSVR 35096 and MSVR 35097. Discovered by Axel
              Packit 85355f
                      Souchet and Vishal Chauhan from the MSRC Vulnerabilities &
              Packit 85355f
                      Mitigations team.
              Packit 85355f
              Packit 85355f
                  
            • tools/tiff2pdf.c: fix out-of-bounds write vulnerabilities in
            • Packit 85355f
                      heap allocate buffer in t2p_process_jpeg_strip(). Reported as
              Packit 85355f
                      MSVR 35098. Discovered by Axel Souchet and Vishal Chauhan from
              Packit 85355f
                      the MSRC Vulnerabilities & Mitigations team.
              Packit 85355f
              Packit 85355f
                  
            • tools/tiff2bw.c: fix weight computation that could result of
            • Packit 85355f
                      color value overflow (no security implication). Fix bugzilla
              Packit 85355f
                      #2550.  Patch by Frank Freudenberg.
              Packit 85355f
              Packit 85355f
                  
            • tools/rgb2ycbcr.c: validate values of -v and -h parameters to
            • Packit 85355f
                      avoid potential divide by zero. Fixes CVE-2016-3623 (bugzilla #2569)
              Packit 85355f
              Packit 85355f
                  
            • tools/tiffcrop.c: Fix out-of-bounds write in loadImage().
            • Packit 85355f
                      From patch libtiff-CVE-2016-3991.patch from
              Packit 85355f
                      libtiff-4.0.3-25.el7_2.src.rpm by Nikola Forro (bugzilla
              Packit 85355f
                      #2543)
              Packit 85355f
              Packit 85355f
                  
            • tools/tiff2rgba.c: Fix integer overflow in size of allocated
            • Packit 85355f
                      buffer, when -b mode is enabled, that could result in
              Packit 85355f
                      out-of-bounds write. Based initially on patch
              Packit 85355f
                      tiff-CVE-2016-3945.patch from libtiff-4.0.3-25.el7_2.src.rpm
              Packit 85355f
                      by Nikola Forro, with correction for invalid tests that
              Packit 85355f
                      rejected valid files. (bugzilla #2545)
              Packit 85355f
              Packit 85355f
                  
            • tools/tiffcrop.c: Avoid access outside of stack allocated
            • Packit 85355f
                      array on a tiled separate TIFF with more than 8 samples per
              Packit 85355f
                      pixel.  Reported by Kaixiang Zhang of the Cloud Security Team,
              Packit 85355f
                      Qihoo 360 (CVE-2016-5321 / CVE-2016-5323 , bugzilla #2558 /
              Packit 85355f
                      #2559)
              Packit 85355f
              Packit 85355f
                  
            • tools/tiffdump.c: fix a few misaligned 64-bit reads warned by
            • Packit 85355f
                      -fsanitize
              Packit 85355f
              Packit 85355f
                  
            • tools/tiffdump.c (ReadDirectory): Remove uint32 cast to
            • Packit 85355f
                      _TIFFmalloc() argument which resulted in Coverity report.
              Packit 85355f
                      Added more mutiplication overflow checks.
              Packit 85355f
              Packit 85355f
              Packit 85355f
              Packit 85355f


              Packit 85355f
              Packit 85355f
              Packit 85355f
              Packit 85355f
              <FONT SIZE=+3>C</FONT>HANGES IN THE CONTRIB AREA:
              Packit 85355f
              Packit 85355f
              Packit 85355f
              Packit 85355f
                
            • None
            • Packit 85355f
              Packit 85355f
              Packit 85355f
              Packit 85355f
              Last updated $Date: 2016-11-19 17:47:40 $.
              Packit 85355f
              Packit 85355f
              </BODY>
              Packit 85355f
              </HTML>