1
0
mirror of https://gitlab.com/libtiff/libtiff.git synced 2026-10-26 07:59:18 +03:00

Commit Graph

  • 7dfc35c299 Fix MSVC breakage in previous commit Even Rouault 2015-12-27 17:14:52 +00:00
  • a1506aa413 * libtiff/tif_next.c: fix potential out-of-bound write in NeXTDecode() triggered by http://lcamtuf.coredump.cx/afl/vulns/libtiff5.tif (bugzilla #2508) Even Rouault 2015-12-27 16:55:20 +00:00
  • 13963114dd * libtiff/tif_luv.c: fix potential out-of-bound writes in decode functions in non debug builds by replacing assert()s by regular if checks (bugzilla #2522). Fix potential out-of-bound reads in case of short input data. Even Rouault 2015-12-27 16:25:11 +00:00
  • b7cc3e5902 * libtiff/tif_getimage.c: fix out-of-bound reads in TIFFRGBAImage interface in case of unsupported values of SamplesPerPixel/ExtraSamples for LogLUV / CIELab. Add explicit call to TIFFRGBAImageOK() in TIFFRGBAImageBegin(). Fix CVE-2015-8665 reported by limingxing and CVE-2015-8683 reported by zzf of Alibaba. Even Rouault 2015-12-26 17:32:03 +00:00
  • 212816f6e4 * libtiff/tif_dirread.c: workaround false positive warning of Clang Static Analyzer about null pointer dereference in TIFFCheckDirOffset(). Even Rouault 2015-12-20 23:18:51 +00:00
  • a292bc2d27 * libtiff/tif_fax3.c: remove dead assignment in Fax3PutEOLgdal(). Found by Clang Static Analyzer Even Rouault 2015-12-19 21:50:51 +00:00
  • 22ee4bcd8d offsets on a even offset (affects BigTIFF). This was a regression of the changeset of 2015-10-19. Even Rouault 2015-12-18 14:08:11 +00:00
  • 56ae8c1ee3 * libtiff/tif_dirwrite.c: fix truncation to 32 bit of file offsets in TIFFLinkDirectory() and TIFFWriteDirectorySec() when aligning directory offsets on a even offset (affects BigTIFF) Even Rouault 2015-12-18 11:11:00 +00:00
  • 845ee2f85b * libtiff/tif_write.c: TIFFWriteEncodedStrip() and TIFFWriteEncodedTile() should return -1 in case of failure of tif_encodestrip() as documented * libtiff/tif_dumpmode.c: DumpModeEncode() should return 0 in case of failure so that the above mentionned functions detect the error. Even Rouault 2015-12-12 18:04:26 +00:00
  • b452d9b91c * libtiff/uvcode.h: const'ify uv_code array Even Rouault 2015-12-07 00:12:33 +00:00
  • 5b64b34dc9 * libtiff/tif_dirinfo.c: const'ify tiffFields, exifFields, tiffFieldArray and exifFieldArray arrays Even Rouault 2015-12-06 23:51:44 +00:00
  • fdda780a4b * libtiff/tif_print.c: constify photoNames and orientNames arrays Even Rouault 2015-12-06 22:19:56 +00:00
  • e4df80bf75 * libtiff/tif_close.c, libtiff/tif_extension.c : rename link variable to avoid -Wshadow warnings Even Rouault 2015-12-06 11:13:43 +00:00
  • 142a8a8d4e * libtiff/tif_close.c: rename variable to avoid -Wshadow warning Even Rouault 2015-12-06 10:51:14 +00:00
  • f238db387f * libtiff/*.c: fix typos in comments (patch by Kurt Schwehr) Even Rouault 2015-11-22 22:37:27 +00:00
  • 3ba1a57e00 tif_ojpec.c: modify previous change to be compatible with all MSVC versions Even Rouault 2015-11-22 16:40:43 +00:00
  • 1c9ef8f17c * libtiff/*.c: fix MSVC warnings related to cast shortening and assignment within conditional expression Even Rouault 2015-11-22 15:31:03 +00:00
  • 87f02eaced * libtiff/*.c: fix clang -Wshorten-64-to-32 warnings Even Rouault 2015-11-18 20:35:07 +00:00
  • 7cf3e7efeb * libtiff/tif_dirread.c: initialize double* data at line 3693 to NULL to please MSVC 2013 Even Rouault 2015-11-18 18:26:03 +00:00
  • 1dacfe503f Fix previous commit Even Rouault 2015-11-17 16:21:02 +00:00
  • 1784d0edf7 * libtiff/tif_dirread.c: prevent reading ColorMap or TransferFunction if BitsPerPixel > 24, so as to avoid huge memory allocation and file read attempts Even Rouault 2015-11-17 12:17:31 +00:00
  • d91cba049c * libtiff/tif_dirread.c: remove duplicated assignment (reported by Clang static analyzer) Even Rouault 2015-11-02 09:52:08 +00:00
  • 1874d4e8c8 * libtiff/tif_dir.c, libtiff/tif_dirinfo.c, libtiff/tif_compress.c, libtiff/tif_jpeg_12.c: suppress warnings about 'no previous declaration/prototype' Even Rouault 2015-10-28 19:10:20 +00:00
  • aefadd720c * libtiff/tiffiop.h, libtiff/tif_dirwrite.c: suffix constants by U to fix 'warning: negative integer implicitly converted to unsigned type' warning (part of -Wconversion) Even Rouault 2015-10-19 12:04:23 +00:00
  • ecc78ef4c1 * libtiff/tif_dir.c, libtiff/tif_dirread.c, libtiff/tif_getimage.c, libtiff/tif_print.c: fix -Wshadow warnings (only in libtiff/) Even Rouault 2015-10-17 10:13:14 +00:00
  • 5612707c08 Fix failure to update libtiff version in AC_INIT. v4.0.6 Bob Friesenhahn 2015-09-12 19:50:39 +00:00
  • 20dc498028 * libtiff 4.0.6 released. Bob Friesenhahn 2015-09-12 19:46:23 +00:00
  • e2f860d2f4 * html/v4.0.6.html: Added release notes for 4.0.6. Bob Friesenhahn 2015-09-12 19:29:47 +00:00
  • d1fabc4db1 * tools/tiffgt.c: Silence glut API deprecation warnings on MacOS X. Patch by Roger Leigh. Bob Friesenhahn 2015-09-06 20:42:20 +00:00
  • 897af013fb * Makefile.am: Added a 'coverity' rule to assist with Coverity submissions. Bob Friesenhahn 2015-09-06 19:34:06 +00:00
  • 7bc7b77e78 * tools/tiff2pdf.c: Fix compiler warning about unused function when JPEG is not available. Bob Friesenhahn 2015-09-06 18:24:27 +00:00
  • 2c7bbbc163 (TIFF_UINT32_MAX): Avoid use of platform-specific large constants. Bob Friesenhahn 2015-09-05 20:31:41 +00:00
  • 6fcb0cfb03 (TIFF_INT64_MAX): Avoid use of platform-specific large constants. Bob Friesenhahn 2015-09-05 20:22:45 +00:00
  • 54de96d2b8 * libtiff/tif_dirread.c (TIFFReadDirEntryCheckRangeSlongSlong8): Change implementation so that it does not sometimes overflow the range of a 32-bit int and to avoid a signed vs unsigned compare compiler warning. Bob Friesenhahn 2015-09-05 20:15:57 +00:00
  • 878815a1f0 Missed BSD make patch due to wrong patch order. Bob Friesenhahn 2015-09-01 21:15:52 +00:00
  • a9afad2a9f * Makefile.am (distcheck-hook), configure.ac: Applied patches by Roger Leigh (via tiff mailing list on 2015-09-01) to fix issue with BSD make and to make use of cmake in 'distcheck' target conditional on if cmake is available. Bob Friesenhahn 2015-09-01 19:23:16 +00:00
  • e762ba3de9 * CMakeLists.txt, Makefile.am, configure.ac: Applied patches by Roger Leigh (via tiff mailing list on 2015-09-01). Bob Friesenhahn 2015-09-01 15:38:01 +00:00
  • ba57d5f0b7 * CMakeLists.txt, libtiff/test/Makefile.am: Applied patches by Roger Leigh (via tiff mailing list on 2015-08-31. Bob Friesenhahn 2015-09-01 02:51:50 +00:00
  • 704f717cf5 * libtiff/tif_predict.c: pedantic change to add explicit masking with 0xff before casting to uchar in floating-point horizontal differencing and accumulation routines. Even Rouault 2015-08-31 15:05:57 +00:00
  • 45e29cce8d * libtiff/tif_predict.c: fix generation of output with 16 bit or 32 bit integer, when byte swapping is needed, in horizontal predictor (#2521). Also fixes decoding when there is a single pixel to code (unlikely case...) and byte swapping is involved. Even Rouault 2015-08-31 14:36:10 +00:00
  • e9b10efff9 Additional CMake-related files were missing from the distribution tarball. v4.0.5 Bob Friesenhahn 2015-08-31 00:01:18 +00:00
  • adc4f64c30 Make edit of html/Makefile.am its own step so it is not missed. Bob Friesenhahn 2015-08-30 21:40:39 +00:00
  • 1fea0da266 All the CMakeLists.txt files were missing from the distribution tarball. Bob Friesenhahn 2015-08-30 21:26:45 +00:00
  • 42bfc7006a * libtiff/tif_lzw.c: make nextdata a unsigned type to avoid undefined behaviour with shifts (gcc -fsanitize=shift) Even Rouault 2015-08-30 21:07:44 +00:00
  • 6dc8110cee * libtiff/tif_fax3.c, libtiff/tif_lzw.c, libtiff/tif_predict.c: add explicit masking with 0xff before casting to unsigned char (make icc -check=conversions happy) Even Rouault 2015-08-30 20:49:55 +00:00
  • 27e622bff5 * configure.ac: libtiff 4.0.5 released. Bob Friesenhahn 2015-08-30 17:37:46 +00:00
  • 7663ccc1ec Fix compiler warning about constant value promotion to unsigned long. Bob Friesenhahn 2015-08-29 20:39:17 +00:00
  • bcf0cb43f4 Add ld-version-script option to cmake build. Bob Friesenhahn 2015-08-29 15:30:28 +00:00
  • 036132130d Add CMake build instructions. Bob Friesenhahn 2015-08-29 15:30:11 +00:00
  • 0d55e7db1b Remove strange termination characters from ChangeLog. Bob Friesenhahn 2015-08-28 22:34:15 +00:00
  • 0841549b8a Use consistent line terminations. Bob Friesenhahn 2015-08-28 22:19:26 +00:00
  • c38c973b79 Added HTML file describing the changes which will appear in the 4.0.5 release. Bob Friesenhahn 2015-08-28 16:04:56 +00:00
  • b1f904c7a2 Add some comments in tif_win32.c regarding known issue with WIN64 build. Bob Friesenhahn 2015-08-23 20:12:44 +00:00
  • 5a17dc99ce For MinGW builds, make sure required CRT is available in order to enable large file support. Bob Friesenhahn 2015-08-23 17:49:01 +00:00
  • d9bc8472e7 fax2tiff eliminate warning about cast to thandle_t. Bob Friesenhahn 2015-08-23 15:40:45 +00:00
  • 7ea1078bea rewrite_tag test uses main() with no argument list. Bob Friesenhahn 2015-08-23 14:23:00 +00:00
  • c65c70205c Fix Cmake build issues caused by Windows large file updates. Bob Friesenhahn 2015-08-21 01:59:33 +00:00
  • 8ba4a1c894 Support large files under Windows using tif_unix.c and libtiff tools. Bob Friesenhahn 2015-08-19 02:31:04 +00:00
  • a0e1185771 Fix problem with 'boolean' definition from IJG JPEG 9. Bob Friesenhahn 2015-08-16 20:08:21 +00:00
  • 4199a92ce7 tif_jpeg.c consistency fixes. Bob Friesenhahn 2015-08-15 20:13:07 +00:00
  • 01aa45a312 CMakeLists.txt fix for libtiffxx symbol versioning. Bob Friesenhahn 2015-08-14 02:26:37 +00:00
  • 80dc16cf74 * cmake: Add d suffix to debug libraries with MSVC. Patch #3 of 3 by Roger Leigh posted to tiff list on Wed, 1 Jul 2015 15:58:20 +0100. Bob Friesenhahn 2015-07-04 22:09:27 +00:00
  • d7db70c929 Add missing file from CMake patch set. Bob Friesenhahn 2015-06-25 13:24:52 +00:00
  • 5b90af247e * CMakeLists.txt: Add CMake patchset by Roger Leigh as posted to libtiff mailing list on Mon, 22 Jun 2015 21:21:01 +0100. Several corrections to ensure that the autotools build still works were added by me. I have not yet tested the build using 'cmake' or MSVC with 'nmake'. Bob Friesenhahn 2015-06-25 02:27:58 +00:00
  • 0319952da2 * test/Makefile.am: tiff2rgba-quad-tile.jpg.sh depends on the JPEG library so only execute if JPEG is available. Bob Friesenhahn 2015-06-21 19:32:32 +00:00
  • f5047249d2 * libtiff 4.0.4 released. v4.0.4 Bob Friesenhahn 2015-06-21 19:13:03 +00:00
  • bdd91bbdf8 * configure.ac: Add a HAVE_FOO Automake conditional for each add-on library. Bob Friesenhahn 2015-06-21 18:46:29 +00:00
  • 37c8b068e1 * html/build.html: Try to improve the nmake-based VC++ build description. Bob Friesenhahn 2015-06-21 18:21:28 +00:00
  • 47d8b0eafd * libtiff/tiffconf.vc.h: Build fixes based on testing. Bob Friesenhahn 2015-06-21 17:02:12 +00:00
  • 848ff19ce2 * libtiff/libtiff.def: TIFFRasterScanline does not exist so remove export for it. Bob Friesenhahn 2015-06-21 14:35:07 +00:00
  • d21d2b3057 * libtiff/tif_config.vc.h: Make adjustments to match the new definitions that configure produces, including for WIN64. Still needs to be tested. Bob Friesenhahn 2015-06-21 01:09:09 +00:00
  • 108fe0c660 * configure.ac: For 64-bit MinGW, fix SSIZE_FORMAT formatting specifier. 64-bit MinGW supports 'long long' but support for 'lld' is not assured by the run-time DLLs. Bob Friesenhahn 2015-06-20 20:33:17 +00:00
  • b72cc590ae * test/raw_decode.c (XMD_H): Avoid conflicting typedefs for INT32 and boolean in MinGW build due to including jpeglib.h. Bob Friesenhahn 2015-06-20 16:52:25 +00:00
  • 64a6901448 * test/rewrite_tag.c (main): Fix problem with location of variable declaration. Bob Friesenhahn 2015-06-20 16:33:40 +00:00
  • d4470e0648 * libtiff/libtiff.def: Added exports for TIFFGetConfiguredCODECs, TIFFReadRGBAImageOriented, TIFFSetCompressionScheme, TIFFSwabArrayOfTriples, TIFFVGetFieldDefaulted, _TIFFCheckRealloc, TIFFRasterScanline, TIFFSetErrorHandlerExt, TIFFSetWarningHandlerExt, TIFFNumberOfDirectories, TIFFCreateCustomDirectory, TIFFCreateEXIFDirectory, TIFFWriteCustomDirectory, _TIFFRewriteField as recommended by Roger Leigh and justified by use in libtiff tests, documentation, and changelog notes. Also sorted symbol list and removed duplicate entries. Bob Friesenhahn 2015-06-20 16:07:00 +00:00
  • d233f2b83c Add v4.0.4 changes summary in preparation for release. Bob Friesenhahn 2015-06-18 03:08:06 +00:00
  • 0b7487c60d * libtiff/tif_getimage.c: Fix four Coverity issues related to unintended sign extension. Bob Friesenhahn 2015-06-17 03:12:20 +00:00
  • ac3107ef45 Hopefully fix four Coverity issues related to unintended sign extension. Bob Friesenhahn 2015-06-17 01:34:07 +00:00
  • 39113ade50 * libtiff/tif_unix.c: fix compilation with MSVC (fix by Jeff McKenna) Even Rouault 2015-06-16 15:33:17 +00:00
  • a2b4dfc83a Attempt to fix Coverity warning: Lee Howard 2015-06-15 16:13:46 +00:00
  • 74d1dfd161 From Vadim Zeitlin on Bugzilla Bug #2510. Lee Howard 2015-06-14 23:13:40 +00:00
  • b5587ac2e4 From Ludolf Holzheid on Bugzilla Bug #2498: Lee Howard 2015-06-14 22:55:16 +00:00
  • 837fbcd07a Update. Lee Howard 2015-06-14 22:16:37 +00:00
  • 0899543308 Bugzilla Bug #2409: Contribution by Gary Cramblitt and fix confirmed by Charles Stewart Lee Howard 2015-06-14 22:14:10 +00:00
  • a411152d3f From Marcos H. Woehrmann on Bugzilla Bug #2405. This corrects the shell equality operator. Lee Howard 2015-06-14 21:51:17 +00:00
  • 76939f073f From Jay Berkenbilt on Bug 2401. Lee Howard 2015-06-14 21:44:17 +00:00
  • 106157e7d7 change ColorTransform from "0" to "1" following Bugzilla Bug #2150. Lee Howard 2015-06-14 20:54:32 +00:00
  • fb9cddb6a9 Update for yesterday's commits. Lee Howard 2015-06-14 20:13:39 +00:00
  • b8335269b6 From Eduardo Robles Elvira: Lee Howard 2015-06-13 05:49:18 +00:00
  • b6346f6672 From Antti S. Lankila on: Lee Howard 2015-06-13 05:32:13 +00:00
  • a3f0d4471b From Yuriy M. Kaminskiy: Lee Howard 2015-06-13 05:14:57 +00:00
  • 93f7131c8b Contribution from Andy Cave: Lee Howard 2015-06-13 05:03:50 +00:00
  • 574447a0b0 * libtiff/tif_jpeg.c (JPEGDecode): Split JPEGDecode() into two clean implementations in order to avoid pre-processor hell. Only one of the implementations is used in a given build. Bob Friesenhahn 2015-06-10 13:17:41 +00:00
  • 2d9ec3ee8d * libtiff/tif_jpeg.c: Fix compilation in BITS_IN_JSAMPLE == 12 case Even Rouault 2015-06-08 08:44:37 +00:00
  • d5d24e7065 (TIFFWriteScanline): Fix Coverity 715979 "Division or modulo by zero". Bob Friesenhahn 2015-06-07 23:00:23 +00:00
  • b989c28d1c (TIFFWriteRawStrip): Fix Coverity 715978 "Division or modulo by zero". Bob Friesenhahn 2015-06-07 22:53:17 +00:00
  • d480e894ef (TIFFWriteEncodedTile): Fix Coverity 715976 and 715977 "Division or modulo by zero". Bob Friesenhahn 2015-06-07 22:47:29 +00:00
  • 30f96cda9a * libtiff/tif_write.c (TIFFWriteEncodedStrip): Fix Coverity 715975 * libtiff/tif_read.c (TIFFStartTile): Fix Coverity 715973 and 715974 "Division or modulo by zero". Bob Friesenhahn 2015-06-07 22:41:07 +00:00
  • f39fc2362e * libtiff/tif_read.c (TIFFStartTile): Fix Coverity 715973 "Division or modulo by zero". Bob Friesenhahn 2015-06-07 22:35:40 +00:00
  • 9904e70d72 * libtiff/tif_dir.c (TIFFNumberOfDirectories): Quiet Coverity 1134470 "Logically dead code" by making the roll-over check explicit. Bob Friesenhahn 2015-05-31 23:11:43 +00:00