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

Commit Graph

  • ed141286a3 tiffcmp: fix memory leak when second file cannot be opened. Su_Laus 2025-08-08 21:35:30 +02:00
  • bac73dc5ca Merge branch 'fix-issue-720' into 'master' Even Rouault 2025-08-08 19:32:13 +00:00
  • b4da2ac82f Merge branch 'fix_718_tiff2ps_defer_strile_load' into 'master' Even Rouault 2025-08-08 19:31:44 +00:00
  • 6ba36f159f tiff2ps: check return of TIFFGetFiled() for TIFFTAG_STRIPBYTECOUNTS and TIFFTAG_TILEBYTECOUNTS to avoid NULL pointer dereference. Su_Laus 2025-08-02 18:55:54 +02:00
  • 67c1cab666 add assert for TIFFReadCustomDirectory infoarray check lxy 2025-07-29 19:46:05 +08:00
  • e92f761ea4 Merge branch 'tif_jpeg_12_bit_bug_JPEGDecodeRaw_fix_717' into 'master' Even Rouault 2025-07-11 16:10:13 +00:00
  • e34eaa8eff tif_jpeg: Fix bug in JPEGDecodeRaw() if JPEG_LIB_MK1_OR_12BIT is defined for 8/12bit dual mode, introduced in libjpeg-turbo 2.2, which was actually released as 3.0. Su_Laus 2025-07-11 17:01:08 +02:00
  • d2dc308fdc Merge branch 'tiffdump_coverity_fix' into 'master' Even Rouault 2025-07-10 19:05:58 +00:00
  • 6086925a5b tiffdump: Fix coverity scan issue CID 1373365: Passing tainted expression *datamem to PrintData, which uses it as a divisor or modulus. Su_Laus 2025-07-06 17:43:55 +02:00
  • c5cccfb4f6 Merge branch 'tiffcrop_coverity_scan_update' into 'master' Even Rouault 2025-07-04 22:06:49 +00:00
  • 5e11d05c18 tiffcrop: Fix coverity scan issue CID 1655232: Uninitialized variables (UNINIT) Using uninitialized value "crop.selections". Su_Laus 2025-07-02 20:41:22 +02:00
  • 4011893a4e Merge branch 'fix_716_tiffcrop_memory_leak_on_error_exit' into 'master' Even Rouault 2025-07-02 06:42:29 +00:00
  • e1d3346169 Close open TIFF files and release allocated buffers in tiffcrop before exiting in case of error to avoid memory leaks. Su_Laus 2025-06-27 23:13:46 +02:00
  • 02c6feb42b Merge branch 'fix_714' into 'master' Even Rouault 2025-06-26 10:36:11 +00:00
  • 4d8c7527d3 JPEGEncodeRaw(): error out if a previous scanline failed to be written, to avoid out-of-bounds access Even Rouault 2025-06-25 19:32:42 +02:00
  • 8635958dc7 Merge branch 'improve_TIFFReadRGBAImage' into 'master' Even Rouault 2025-06-25 17:15:21 +00:00
  • 6816940248 Improve TIFFReadRGBAImage and avoid buffer overflows. Su Laus 2025-06-25 17:15:21 +00:00
  • e54aa4b57f Merge branch 'thumbnail-715' into 'master' Even Rouault 2025-06-25 17:14:18 +00:00
  • e8de4dc1f9 Fix for thumbnail issue #715 Lee Howard 2025-06-25 17:14:18 +00:00
  • 803d8dbec5 Merge branch 'issue-711' into 'master' Even Rouault 2025-06-25 17:04:13 +00:00
  • 118805c02f TIFFUnlinkDirectory() and TIFFWriteDirectorySec(): clear tif_rawcp when clearing tif_rawdata Lee Howard 2025-06-25 17:04:13 +00:00
  • a7590ca213 Merge branch 'tiff_itrunc_rand' into 'master' Even Rouault 2025-06-25 17:01:03 +00:00
  • 292a2490b2 tiff_itrunc(): don't use rand() to please Coverity Scan Even Rouault 2025-06-12 15:02:55 +02:00
  • 0f5b81947b Merge branch 'tiff-static' into 'master' Even Rouault 2025-06-12 09:51:08 +00:00
  • e47dce81cd CMake: Add build option tiff-static, fixes #709 Demetrius flavious 2025-06-12 09:51:08 +00:00
  • d1c0719e00 Merge branch 'fix_704_TIFFReadRGBAImage_crash' into 'master' Even Rouault 2025-06-11 19:45:19 +00:00
  • 3e0dcf0ec6 tif_getimage.c: Fix buffer underflow crash for less raster rows at TIFFReadRGBAImageOriented() Su Laus 2025-06-11 19:45:19 +00:00
  • 14da830be4 Merge branch 'coverity_fixes' into 'master' Even Rouault 2025-06-06 14:23:33 +00:00
  • ecbe2cf216 tif_zip.c: changes to please Coverity Scan Even Rouault 2025-06-06 14:23:33 +00:00
  • 8aac9d95af Merge branch 'mkg3states' into 'master' Even Rouault 2025-06-03 17:49:14 +00:00
  • e75f78c141 Merge branch 'fix_MSVC_warnings_in_some_tools' into 'master' Even Rouault 2025-06-03 17:47:49 +00:00
  • 67fd283d27 Fixing MSVC compiler warnings in some tools. Su Laus 2025-06-03 17:47:49 +00:00
  • 0a3bfa04a9 Move mkg3states under libtiff/tools, fixes #708 Lior Lahav 2025-05-27 13:29:24 +03:00
  • 7d65dfe021 Merge branch 'cmake3.10' into 'master' Even Rouault 2025-05-25 19:59:34 +00:00
  • 2fe99e10f1 Merge branch 'fix_MSVC_warnings_in_some_test_progs' into 'master' Even Rouault 2025-05-25 19:59:15 +00:00
  • a4310ab85e Fixing MSVC compiler warnings in some test programs. Su Laus 2025-05-25 19:59:15 +00:00
  • 25880744f3 Merge branch 'predict_speedup' into 'master' Even Rouault 2025-05-25 19:58:37 +00:00
  • fe10872e53 Merge branch 'tiffmedian-707' into 'master' Even Rouault 2025-05-25 11:57:28 +00:00
  • ecc4ddbf1f conflict resolution Lee Howard 2025-05-24 21:38:09 -07:00
  • ce46f002ec Fix tiffmedian bug #707 Lee Howard 2025-05-24 21:25:16 -07:00
  • ff5997ea12 Fixed: CMake 4.0 warning when minimum required version is < 3.10 Lior Lahav 2025-05-24 23:27:14 +03:00
  • 89eecc280f tif_predict.c: speed-up decompression in some cases Even Rouault 2025-05-22 12:37:25 +02:00
  • 0b80e677a2 Merge branch 'tiffdither-703' into 'master' Even Rouault 2025-05-22 10:14:35 +00:00
  • 78397815cd tiffdither/tiffmedian: Don't skip the first line of the input image. Addresses issue #703 Lee Howard 2025-05-22 10:14:35 +00:00
  • babfe37160 Merge branch 'fix_682_tiff2rgba_size_t_overflow' into 'master' Even Rouault 2025-05-22 10:13:28 +00:00
  • c312774121 Merge branch 'fix_MSVC_warnings_in_addtiffo' into 'master' Even Rouault 2025-05-22 10:12:32 +00:00
  • a16c51a28e Fixing MSVC compiler warnings in addtiffo. Su Laus 2025-05-22 10:12:32 +00:00
  • 3994cf3b3b Don't skip the first line of the input image. Addresses issue #703 Lee Howard 2025-05-19 10:53:30 -07:00
  • 1d594d5fc1 tiff2rgba: fix some "a partial expression can generate an overflow before it is assigned to a broader type" warnings. Su_Laus 2025-05-17 20:40:14 +02:00
  • b4c5eb7e17 Merge branch 'master' into 'master' Even Rouault 2025-05-11 12:00:24 +00:00
  • 9daf3da323 oss-fuzz: fix memory leak in fuzz target Yuntong Zhang 2025-05-11 19:29:47 +08:00
  • 2bf2848cf5 Merge branch 'spelling' into 'master' Even Rouault 2025-05-02 18:00:04 +00:00
  • 01089de169 Spelling fixes. Kurt Schwehr 2025-05-02 17:36:53 +00:00
  • ffad0bc578 Merge branch 'configure-ac-syntax-ac-2-71' into 'master' Even Rouault 2025-04-30 21:36:51 +00:00
  • 56f641129c Merge branch 'defines' into 'master' Bob Friesenhahn 2025-04-29 21:51:44 +00:00
  • bf73d790f7 Merge branch '672-simplify-and-soften-autogen-sh' into 'master' Bob Friesenhahn 2025-04-29 21:32:48 +00:00
  • 503219da43 autogen.sh: Enable verbose wget 672-simplify-and-soften-autogen-sh Bob Friesenhahn 2025-04-29 14:06:13 -05:00
  • 82b8411c8c configure.ac: Syntax updates for Autoconf 2.71 configure-ac-syntax-ac-2-71 Bob Friesenhahn 2025-04-29 13:49:21 -05:00
  • a5a163f06a autogen.sh: Re-implement based on autoreconf. Failure to update config.guess/config.sub does not return error. Bob Friesenhahn 2025-04-29 10:31:38 -05:00
  • fa06f02aab Merge branch 'fix_698' into 'master' Even Rouault 2025-04-19 19:49:37 +00:00
  • 0fcd2a642b Merge branch 'fix-684' into 'master' Even Rouault 2025-04-18 12:33:51 +00:00
  • dd3def4006 Fix for buffer underflow Timothy Lyanguzov 2025-04-18 12:33:50 +00:00
  • 0272e97d06 LZWDecode(): avoid nullptr dereference when trying to read again after end-of-information marker has been found with remaining output bytes (fixes #698) Even Rouault 2025-04-18 14:30:59 +02:00
  • 0d6509eb70 Merge branch 'correct_not_HAVE_IEEEFP_issue_699' into 'master' Even Rouault 2025-04-18 12:09:32 +00:00
  • d71308116f Correct passing arguments to TIFFCvtIEEEFloatToNative() and TIFFCvtIEEEDoubleToNative() if HAVE_IEEEFP is not defined. Su_Laus 2025-04-17 19:02:35 +02:00
  • 3a081531ba Merge branch 'integer_overflow_gtTileContig_issue_79' into 'master' Even Rouault 2025-04-16 20:13:19 +00:00
  • 639a014af9 Update some integer overflow checks in tif_getimage.c Su_Laus 2025-04-10 21:10:23 +02:00
  • 88895cd02b Merge branch 'fix_issue_5_write_buffer_overwriting_compression_with_prediction' into 'master' Even Rouault 2025-04-14 08:04:52 +00:00
  • d5711831e5 tif_predict.c: Don’t overwrite input buffer of TIFFWriteScanline() if "prediction" is enabled. Use extra working buffer in PredictorEncodeRow(). Su_Laus 2025-04-13 19:01:00 +02:00
  • ec20ee993a Merge branch 'doc_remove_dead_awaresystems_link' into 'master' Even Rouault 2025-04-10 22:30:39 +00:00
  • 13d41b167f Merge branch 'notes_for_allocating_TIFFYCbCrToRGB_structure_issue_681' into 'master' Even Rouault 2025-04-10 22:28:45 +00:00
  • 9315cc3397 Merge branch 'doc_add_multi_page_reference_issue_43' into 'master' Even Rouault 2025-04-10 22:26:13 +00:00
  • 142f912a69 doc: Added chapter to "Using the TIFF Library" with links to handling multi-page TIFF and custom directories. Su_Laus 2025-04-10 21:47:44 +02:00
  • fe5a2810de doc: Added hints for correct allocation of TIFFYCbCrtoRGB structure and its associated buffers. Su_Laus 2025-04-06 20:35:24 +02:00
  • ea0dc4a8f2 Replace some last links and remove last todos. Su_Laus 2025-04-03 18:43:35 +02:00
  • 03b66fd95f Merge branch 'CheckReachedCounters_static' into 'master' Even Rouault 2025-04-02 11:08:58 +00:00
  • 698115e819 tif_fax3.c: add missing static qualifier in front of CheckReachedCounters() (master only) Even Rouault 2025-04-02 13:08:32 +02:00
  • 6fd6986c09 References to codec libraries updated and missing codec compile defines (tiffconf.h) added. Su_Laus 2025-03-31 21:04:31 +02:00
  • 33433b0090 Merge branch 'fix-676' into 'master' Even Rouault 2025-04-01 13:28:48 +00:00
  • 25f53b9933 Fix memory leak in _TIFFSetDefaultCompressionState Timothy Lyanguzov 2025-04-01 23:36:14 +13:00
  • 3016bce2c3 Merge branch 'tiffcp_integer_overflow_check_issue_546' into 'master' Even Rouault 2025-03-31 20:34:52 +00:00
  • 05c9a45472 Improve non-secure integer overflow check (comparison of division result with multiplicant) at compiler optimisation in tiffcp, rgb2ycbcr and tiff2rgba. Su_Laus 2025-02-20 22:17:14 +01:00
  • 4e1b837946 Merge branch 'zlib_solo' into 'master' Even Rouault 2025-03-28 09:50:23 +00:00
  • e9cb627e29 Merge branch 'fix_670_tif_fax3_EOL_error_count_reached' into 'master' Even Rouault 2025-03-28 09:48:49 +00:00
  • 8bd0d494b8 Merge branch 'fix-test-tiffcrop-tiffcp-32bpp-None-jpeg-race' into 'master' Even Rouault 2025-03-28 09:47:26 +00:00
  • c082666e17 Merge branch 'doc_update_TIFFSetWriteOffset' into 'master' Even Rouault 2025-03-28 09:46:48 +00:00
  • bcf7eac34d Merge branch 'coverity_fixes_in_tools' into 'master' Even Rouault 2025-03-28 09:42:21 +00:00
  • e5be40ee28 zip: Provide zlib allocation functions. Nikolay Sivov 2025-03-25 14:02:02 +01:00
  • aad5b70b37 Updating BigTIFF specification and some miscelaneous editions. Su_Laus 2025-03-23 21:26:33 +01:00
  • f308b319be doc: Remove dead links to no more existing Awaresystems web-site. Su_Laus 2025-03-20 15:58:15 +01:00
  • 8164e15eec Merge branch 'bugfix/issue_674-export_tiffxx_cmake_target' into 'master' Roger Leigh 2025-03-19 07:12:41 +00:00
  • 4622d2f5a3 Export tiffxx cmake target (issue #674) Daniel Moreno 2025-03-18 18:10:45 -04:00
  • 6c8b10ca3f tif_fax3.c: error out after a number of times end-of-line or unexpected bad code words have been reached. Su_Laus 2025-03-04 17:56:19 +01:00
  • 1d277003a0 Merge branch 'fix_665_memory_leak' into 'master' Bob Friesenhahn 2025-03-03 22:35:17 +00:00
  • df2764ca3f Fix memory leak of issue # 665 (td_stripbytecount_p and td_stripoffset_p in TIFFSetupStrips()) Su Laus 2025-03-03 22:35:16 +00:00
  • efadbbd874 test: Fix race condition in {tiffcrop,tiffcp}-32bpp-None-jpeg.sh tests Gabi Falk 2025-02-26 14:00:00 +00:00
  • 38efe34ede Merge branch 'doc_re_entrancy_and_thread_safety_see_667' into 'master' Bob Friesenhahn 2025-02-25 22:13:34 +00:00
  • 2d9071e849 doc: Update documentation on re-entrancy and thread safety. Su Laus 2025-02-25 22:13:34 +00:00
  • 1625c3114b doc/functions/TIFFWriteDirectory.rst: Clarify TIFFSetWriteOffset() only sets offset for image data and not for IFD data. Su_Laus 2025-02-23 19:25:34 +01:00
  • 14b2d89909 Silence some Coverity Scan warnigs and mark already dismissed ones. Guard all code related to CHUNKY_STRIP_READ_SUPPORT. Su_Laus 2025-02-16 21:57:15 +01:00