-
Notifications
You must be signed in to change notification settings - Fork 5
/
ChangeLog
17406 lines (10710 loc) · 579 KB
/
ChangeLog
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
2024-09-11 Even Rouault <even.rouault@spatialys.com>
libtiff v4.7.0rc2 preparation
2024-09-11 Even Rouault <even.rouault@spatialys.com>
configure.ac: make a provision to look for up to python 3.16 ...
hopefully we'll have ditched autoconf support at that point...
Fix test dependency on tiff2rgba-32BPP that breaks 'make check -jX'
test/tiff2ps*.sh scripts: try to use POSIX only diff flags.
2024-09-11 Even Rouault <even.rouault@spatialys.com>
Merge branch 'automake_doc_fix' into 'master'
doc/Makefile.am: make sure that 'doc-html' and 'doc-man' targets have dependencies to avoid them to be rebuilt by successive make
See merge request libtiff/libtiff!657
2024-09-10 Even Rouault <even.rouault@spatialys.com>
Merge branch '4_7_0_rst_rgb2ycbcr_thumbnail' into 'master'
v4.7.0.rst: clarify that rgb2ycbcr and thumbnail are not installed
See merge request libtiff/libtiff!659
2024-09-10 Even Rouault <even.rouault@spatialys.com>
v4.7.0.rst: clarify that rgb2ycbcr and thumbnail are not installed.
2024-09-08 Even Rouault <even.rouault@spatialys.com>
doc/Makefile.am: make sure that 'doc-html' and 'doc-man' targets have dependencies to avoid them to be rebuilt by successive make
doc/Makefile.am: move rst_sources and EXTRA_DIST variables on top of file
2024-09-07 Even Rouault <even.rouault@spatialys.com>
Merge branch 'index_rst_formatting_issue' into 'master'
index.rst: fix formatting issue
See merge request libtiff/libtiff!656
2024-09-07 Even Rouault <even.rouault@spatialys.com>
index.rst: fix formatting issue.
2024-09-07 Even Rouault <even.rouault@spatialys.com>
Merge branch 'prepare_release_4_7_0' into 'master'
Prepare release 4.7.0
See merge request libtiff/libtiff!654
2024-09-07 Even Rouault <even.rouault@spatialys.com>
Doc: remove 'Master' terminlogy.
v4.7.0.rst: remove mention about autoconf-archive since that change has been reverted
Revert "autotools: allow pulling in updated macros from autoconf-archive"
This reverts commit c820d16c30c27b3be6c3d10834b6d75607ae9d77.
Revert "HOWTO-RELEASE: document the necessary dependencies for producing dist tarballs"
This reverts commit f1a91e42b3f23641cb5559fb60e1d73d201275eb.
Revert "configure.ac: fix HAVE_OPENGL determination due to recent changes"
This reverts commit c370e67f7fd9320674544113218b7fbca4f65c2b.
configure.ac: fix HAVE_OPENGL determination due to recent changes.
Update version numbers for 4.7.0.
Update ChangeLog and create release notes for v4.7.0.
2024-09-06 Even Rouault <even.rouault@spatialys.com>
typo fixes.
2024-09-06 Even Rouault <even.rouault@spatialys.com>
Merge branch 'autoconf-archive' into 'master'
autotools: allow pulling in updated macros from autoconf-archive
See merge request libtiff/libtiff!645
2024-09-06 Even Rouault <even.rouault@spatialys.com>
Merge branch 'remove_last_usage_of_get_field_type' into 'master'
Change last usage of get_field_type at TIFFWriteDirectorySec() to set_field_type
See merge request libtiff/libtiff!653
2024-09-06 Even Rouault <even.rouault@spatialys.com>
libtiff v4.7.0rc1 preparation
2024-09-06 Even Rouault <even.rouault@spatialys.com>
Merge branch 'autoconf-archive' into 'master'
autotools: allow pulling in updated macros from autoconf-archive
See merge request libtiff/libtiff!645
2024-09-06 Even Rouault <even.rouault@spatialys.com>
Merge branch 'remove_last_usage_of_get_field_type' into 'master'
Change last usage of get_field_type at TIFFWriteDirectorySec() to set_field_type
See merge request libtiff/libtiff!653
2024-09-05 Su_Laus <sulau@freenet.de>
Change last usage of get_field_type at TIFFWriteDirectorySec() for codec related tags to set_field_type.
2024-09-03 Eli Schwartz <eschwartz93@gmail.com>
HOWTO-RELEASE: document the necessary dependencies for producing dist tarballs
autogen.sh: actually return failure if any step failed.
Previously, it exited with failure if and only if the wget calls failed.
But it is possible for any command to fail, e.g. if the autotools are
broken, misconfigured, or missing dependencies.
2024-09-03 Eli Schwartz <eschwartz93@gmail.com>
autotools: allow pulling in updated macros from autoconf-archive.
Instead of inlining a few macros in acinclude.m4 and forgetting about
them, teach aclocal to install the macros to m4/ when autoreconf is run.
They are no longer tracked in one big file, nor tracked at all in git,
but producing dist tarballs will bundle them up just like `configure`
and `Makefile.in`.
Note: previous behavior of AX_CHECK_GL* was to simply ignore support and
proceed, if it was asked for and not found. The updated macros expect to
opt into this by specifying action-if-not-found.
VL_* is obsolete. Upgrade to AX_CFLAGS_WARN_ALL.
2024-09-03 Even Rouault <even.rouault@spatialys.com>
Merge branch 'XZY2RGB' into 'master'
Fixes #644 Index comparison as size_t to avoid overflow in TIFFXYZToRGB
Closes #644
See merge request libtiff/libtiff!649
2024-09-03 Nicolas Badoux <n.badoux@hotmail.com>
Fixes #644 Index comparison as size_t to avoid overflow in TIFFXYZToRGB.
2024-09-01 Even Rouault <even.rouault@spatialys.com>
Merge branch 'ci_werror' into 'master'
CI: build with -Wall -Wextra -Werror
See merge request libtiff/libtiff!652
2024-08-30 Even Rouault <even.rouault@spatialys.com>
configure.ac: avoid -Werror passed to CFLAGS to interfere with feature detection
CI: build with -Wall -Wextra -Werror.
2024-08-30 Roger Leigh <rleigh@codelibre.net>
Merge branch 'ci-old-update' into 'master'
ci: Update "old" build jobs to use Ubuntu 22.04
See merge request libtiff/libtiff!651
2024-08-30 Roger Leigh <rleigh@codelibre.net>
ci: Update "old" build jobs to use Ubuntu 22.04.
2024-08-30 Even Rouault <even.rouault@spatialys.com>
Merge branch 'ci-ubuntu-22.04' into 'master'
ci: Update to use Ubuntu 24.04 CI images
See merge request libtiff/libtiff!650
2024-08-30 Roger Leigh <rleigh@codelibre.net>
ci: Update to use Ubuntu 24.04 CI images.
2024-08-28 Even Rouault <even.rouault@spatialys.com>
Merge branch 'uv_encode' into 'master'
Fix #645 by using unsigned int for variable indexing an array in uv_decode() and uv_encode()
Closes #645
See merge request libtiff/libtiff!648
2024-08-28 Nicolas Badoux <n.badoux@hotmail.com>
Fix #645 by using unsigned int for variable indexing an array in uv_decode() and uv_encode()
Change `vi` to unsigned int in `uv_decode()` and `uv_encode()` to ensure that upper bound `UV_NVS` cannot be satisfied by a negative value which will overflow when cast to an unsigned value at array access time. This fixes issue #645 where a segmentation fault was caused.
2024-08-27 Even Rouault <even.rouault@spatialys.com>
Merge branch 'fix_643_solitary_CustomDirectory_read' into 'master'
Fix #643 by initializing pointer to TIFFSetField() and TIFFGetField() before TIFFReadGPSDirectory
Closes #643
See merge request libtiff/libtiff!647
2024-08-27 Su Laus <sulau@freenet.de>
Fix #643 by initializing pointer to TIFFSetField() and TIFFGetField() before TIFFReadGPSDirectory
Initialize pointer to TIFFSetField() and TIFFGetField() (i.e. tif-\>tif_tagmethods.vsetfield and tif-\>tif_tagmethods.vgetfield) even if the file is opened with "h" option. This fixes issue #643 where a segmentation fault was caused.
2024-08-25 Even Rouault <even.rouault@spatialys.com>
Merge branch 'tiff_strip' into 'master'
Add non-zero check before division in TIFFComputeStrip
See merge request libtiff/libtiff!646
2024-08-23 Nicolas Badoux <n.badoux@hotmail.com>
Add non-zero check before division in TIFFComputeStrip.
2024-08-15 Even Rouault <even.rouault@spatialys.com>
Merge branch 'fix_564' into 'master'
TIFFScanlineSize64(): revert merge request #564
See merge request libtiff/libtiff!644
2024-08-15 Even Rouault <even.rouault@spatialys.com>
TIFFScanlineSize64(): revert merge request #564.
https://gitlab.com/libtiff/libtiff/-/merge_requests/564 broke decoding of: "tools/tiffcp -c none in.tif out.tif"
with [in.tif](/uploads/0475a88cf6e66652b030a0a3a0c47313/in.tif)
leading to shift each line of the target image by one extra pixel at each line.
Unfortunately, this cancels what https://gitlab.com/libtiff/libtiff/-/merge_requests/564 tried to fix. I'll let @caolanm propose an alternative fix in a follow-up merge request
2024-08-15 Even Rouault <even.rouault@spatialys.com>
Merge branch 'coverity_fix_from_MR_634' into 'master'
Fix some Coverity Scan issues introduced by MR 634.
See merge request libtiff/libtiff!643
2024-08-14 Su_Laus <sulau@freenet.de>
Fix some Coverity Scan issues introduced by MR 634.
2024-08-11 Even Rouault <even.rouault@spatialys.com>
Merge branch 'lerc-pkgconfig' into 'master'
libtiff-4.pc: Fix `Requires.private` missing `Lerc`.
See merge request libtiff/libtiff!633
2024-08-11 Even Rouault <even.rouault@spatialys.com>
Merge branch 'manpage_update_directory_incrementing' into 'master'
Amend manpages for changes in current directory index behaviour.
See merge request libtiff/libtiff!639
2024-08-11 Su Laus <sulau@freenet.de>
Amend manpages for changes in current directory index behaviour.
2024-08-11 Even Rouault <even.rouault@spatialys.com>
Merge branch 'tiffcrop_coverity_20240723' into 'master'
Attempt to address tiffcrop Coverity scan issues 1605444, 1605445, and 1605449.
See merge request libtiff/libtiff!642
2024-08-11 Lee Howard <faxguy@howardsilvan.com>
Attempt to address tiffcrop Coverity scan issues 1605444, 1605445, and 1605449.
2024-08-11 Even Rouault <even.rouault@spatialys.com>
Merge branch 'fix_CurDir_wrong_incrementing' into 'master'
Fix cases where tif_curdir is set incorrectly
See merge request libtiff/libtiff!634
2024-08-11 Su Laus <sulau@freenet.de>
Fix cases where tif_curdir is set incorrectly.
Fix cases where the current directory number (tif_curdir) is set inconsistently or incorrectly, depending on the previous history.
See additional checks and tests in test/test_directory.c of this MR for intended setting of tif_curdir (i.e. TIFFCurrentDirectory(tif)).
2024-07-12 Even Rouault <even.rouault@spatialys.com>
Merge branch 'coverity_fixes_tiff2pdf_#2' into 'master'
Try to fix additional Coverity issues in tiff2pdf
See merge request libtiff/libtiff!641
2024-07-12 Su Laus <sulau@freenet.de>
Try to fix additional Coverity issues in tiff2pdf.
2024-07-10 Even Rouault <even.rouault@spatialys.com>
Merge branch 'fix_autoconf_diff_parameter_crlf' into 'master'
Add parameter for "diff" used in autoconf test scripts to ignore LF and CRLF differences.
See merge request libtiff/libtiff!640
2024-07-09 Even Rouault <even.rouault@spatialys.com>
Merge branch 'coverity_fixes_tiff2pdf' into 'master'
Fix Coverity issues in tiff2pdf.
See merge request libtiff/libtiff!638
2024-07-09 Su Laus <sulau@freenet.de>
Fix Coverity issues in tiff2pdf.
2024-06-29 Su_Laus <sulau@freenet.de>
Add parameter for "diff" used in autoconf test scripts to ignore LF and CRLF differences.
2024-06-28 Even Rouault <even.rouault@spatialys.com>
Merge branch 'coverity_fixes_test_thumbnail' into 'master'
Coverity Scan fixes in thumbnail.c and custom_dir_EXIF_231.c
See merge request libtiff/libtiff!637
2024-06-28 Su Laus <sulau@freenet.de>
Coverity Scan fixes in thumbnail.c and custom_dir_EXIF_231.c.
2024-06-25 Even Rouault <even.rouault@spatialys.com>
Merge branch 'coverity_fixes' into 'master'
Try to silence new Coverity Scan false positives
See merge request libtiff/libtiff!636
2024-06-24 Even Rouault <even.rouault@spatialys.com>
Try to silence new Coverity Scan false positives.
There are other warnings in tools/ that I'll let others deal with.
2024-06-24 Even Rouault <even.rouault@spatialys.com>
Merge branch 'fix/make' into 'master'
fix: error when running make clean
Closes #630
See merge request libtiff/libtiff!635
2024-06-24 Kévin Dunglas <kevin@dunglas.fr>
fix: error when running make clean.
2024-06-15 Niklas Hambüchen <mail@nh2.me>
libtiff-4.pc: Fix `Requires.private` missing `Lerc`.
It provides a `.pc` file starting from version 4 in:
https://github.com/Esri/lerc/blob/8d6e8251544bbe1379feb0fe0a0934e43ca1a6cd/Lerc.pc.in
libtiff's CMake build system already has support for this,
adding `Lerc` to `Requires.private` if Lerc is >= 4.
In contrast to the CMake build system, autoconf has no good way
to check for checking the Lerc version, we do it unconditionally
there.
2024-06-13 Even Rouault <even.rouault@spatialys.com>
Merge branch 'rfc02_text__restore_tools' into 'master'
Text for RFC 2: Restoring needed libtiff tools
See merge request libtiff/libtiff!581
2024-06-13 Even Rouault <even.rouault@spatialys.com>
Merge branch 'add_some_conversion_test_to_cmake' into 'master'
Port some basic sanity checks from autoconf to cmake.
See merge request libtiff/libtiff!630
2024-06-10 Even Rouault <even.rouault@spatialys.com>
Merge branch 'tiffcp_coverity_check_malloc_return' into 'master'
tiffcp: Add check for limitMalloc return to fix Coverity CID 1603334
See merge request libtiff/libtiff!632
2024-06-10 Su_Laus <sulau@freenet.de>
tiffcp add check for limitMalloc return to fix Coverity CID 1603334.
2024-06-07 Even Rouault <even.rouault@spatialys.com>
Merge branch 'aim-nara-master-patch-67955' into 'master'
Remove unnecessary `2` in tiffcmp name
See merge request libtiff/libtiff!631
2024-06-07 AIM | Nara <takeshi.naramidate@ai-ms.com>
Remove unnecessary `2` in tiffcmp name.
2024-05-30 Su_Laus <sulau@freenet.de>
Port some basic sanity checks from autoconf to cmake. Checks are for tiffcp and tiffcrop RGB->YCbCr JPEG conversions (see MR !611 / 'tiffcp_tiffcrop_RGB_YCbCr_tests')
2024-05-29 Even Rouault <even.rouault@spatialys.com>
Merge branch 'ofz65182' into 'master'
an issue seen in putcontig8bitYCbCr22tile
See merge request libtiff/libtiff!564
2024-05-29 Caolán McNamara <caolanm@gmail.com>
TIFFScanlineSize64(): fix computation in non-JPEG YCbCr case (#564)
Fixes https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=65182
2024-05-29 Even Rouault <even.rouault@spatialys.com>
Merge branch 'fix_375' into 'master'
TIFFRead[Scanline/EncodedStrip/EncodeTile]: 0-initialize output buffer if setupdecode fails ; most codecs: zero-initialize (not-yet-written parts of) output buffer if failure
Closes #375
See merge request libtiff/libtiff!628
2024-05-29 Even Rouault <even.rouault@spatialys.com>
Merge branch 'tiff2pdf-planar' into 'master'
Inconsistent PLANARCONFIG value for the input and output TIFF in tiff2pdf.c
See merge request libtiff/libtiff!629
2024-05-29 Timothy Lyanguzov <timothy.lyanguzov@sap.com>
Inconsistent PLANARCONFIG value for the input and output TIFF in tiff2pdf.c
Fixed a bug in tiff2pdf.c whereas the PLANARCONFIG for the output TIFF is set to a fixed value of PLANARCONFIG_CONTIG as opposed to match the value of the input TIFF.
This mainly manifest in the heap-buffer-overread due to the difference of sizes in the buffers (between input and output) allocated and read to the size of output buffer.
Reimplementation of !92
2024-05-27 Even Rouault <even.rouault@spatialys.com>
tif_lzma/tif_lzw: add code comments.
2024-05-26 Even Rouault <even.rouault@spatialys.com>
ZSTDDecode: zero-initialize (not-yet-written parts of) output buffer if failure
PixarLogDecode: zero-initialize output buffer if failure.
PackBitsDecode: zero-initialize (not-yet-written parts of) output buffer if failure
JPEGDecode: zero-initialize (not-yet-written parts of) output buffer if failure
LERCDecode: zero-initialize output buffer if failure.
LZMADecode: zero-initialize (not-yet-written parts of) output buffer if failure, and handle repeated calls to decoding same tile/strip if previous failure occured
TWebPDecode: zero-initialize output buffer if failure, and handle repeated calls to decoding same tile/strip if previous failure occured
ThunderDecode: zero-initialize (not-yet-written parts of) output buffer if failure
OJPEGDecode: zero-initialize output buffer if failure.
JBIGDecode: zero-initialize (not-yet-written parts of) output buffer if failure
ZIPDecode: zero-initialize (not-yet-written parts of) output buffer if failure, and handle repeated calls to decoding same tile/strip if previous failure occured
LZWDecode: zero-initialize (not-yet-written parts of) output buffer if failure
TIFFRead[Scanline/EncodedStrip/EncodeTile]: 0-initialize output buffer if setupdecode fails
Fixes #375
2024-05-25 Su_Laus <sulau@freenet.de>
Text for RFC 2: Restoring needed libtiff tools - file added to doc/Makefile.am and rebased.
Text for RFC 2: Restoring needed libtiff tools - approved with voting history updated.
Text for RFC 2: Restoring needed libtiff tools - further amended.
Text for RFC 2: Restoring needed libtiff tools - amended.
Text for RFC 2: Restoring needed libtiff tools.
2024-05-23 Even Rouault <even.rouault@spatialys.com>
Merge branch 'tiff2pdf_539' into 'master'
fix tiff2pdf issue #539; however, there certainly remain many JPEG-compressed...
See merge request libtiff/libtiff!597
2024-05-23 Lee Howard <faxguy@howardsilvan.com>
tiff2pdf: fix issue with JPEG restart-interval marker when converting from JPEG-compressed files
Fixes #539
however, there certainly remain many JPEG-compressed TIFFs which tiff2pdf will fumble without disabling data passthrough (using the -n option) - I supect that it has to do with the JPEG tables being removed from the JPEG and placed into the TIFF headers - as tiff2pdf would need to put these back into the JPEG instead of just passing the data through to the PDF
2024-05-22 Even Rouault <even.rouault@spatialys.com>
Merge branch 'test_fix' into 'master'
test/Makefile.am: make sure that all test images are bundled by make dist even...
See merge request libtiff/libtiff!626
2024-05-22 Even Rouault <even.rouault@spatialys.com>
Merge branch 'add_missing_rst_files' into 'master'
doc/Makefile.am: add rfcs/ files in rst_sources variable
See merge request libtiff/libtiff!624
2024-05-22 Even Rouault <even.rouault@spatialys.com>
test/Makefile.am: make sure that all test images are bundled by make dist even if JPEG or JBIG is not available
2024-05-22 Even Rouault <even.rouault@spatialys.com>
Merge branch 'timothyl/32bpp-cmake-test' into 'master'
Add new test to CMake
See merge request libtiff/libtiff!625
2024-05-22 Timothy Lyanguzov <timothy.lyanguzov@sap.com>
Add new test to CMake.
See previous merge request libtiff/libtiff!611
2024-05-22 Even Rouault <even.rouault@spatialys.com>
doc/Makefile.am: add rfcs/ files in rst_sources variable.
2024-05-22 Even Rouault <even.rouault@spatialys.com>
Merge branch 'tiffcp_tiffcrop_RGB_YCbCr_tests' into 'master'
Add some basic sanity checks for tiffcp and tiffcrop RGB->YCbCr JPEG conversions.
See merge request libtiff/libtiff!611
2024-05-22 Lee Howard <faxguy@howardsilvan.com>
Add some basic sanity checks for tiffcp and tiffcrop RGB->YCbCr JPEG conversions.
2024-05-21 Even Rouault <even.rouault@spatialys.com>
Merge branch 'tiffcp_LZW_JBIG_test' into 'master'
Add basic sanity check for tiffcp LZW->JBIG conversion.
See merge request libtiff/libtiff!612
2024-05-21 Even Rouault <even.rouault@spatialys.com>
Merge branch 'tiffcrop_masonwilde_fix' into 'master'
Apply "Fix heap-buffer-overflow in function extractImageSection"
See merge request libtiff/libtiff!613
2024-05-21 Lee Howard <faxguy@howardsilvan.com>
tiffcrop: Apply "Fix heap-buffer-overflow in function extractImageSection"
https://gitlab.com/masonwilde/libtiff/-/commit/848434a81c443f59ec90d41218eba6e48a450a11
authored by zhailiangliang commit 848434a81c443f59ec90d41218eba6e48a450a11
The overflow conditions were previously addressed, but this provides additional error messages.
2024-05-21 Even Rouault <even.rouault@spatialys.com>
Merge branch 'fix_183_alternative' into 'master'
OJPEG: reset subsampling_convert_state =0 in OJPEGPreDecode (fixes tiff2pdf issue #183)
See merge request libtiff/libtiff!621
2024-05-21 Even Rouault <even.rouault@spatialys.com>
Merge branch 'thunder-fix' into 'master'
A fix for Thunder RLE
See merge request libtiff/libtiff!623
2024-05-21 Timothy Lyanguzov <theta682@gmail.com>
A fix for Thunder RLE.
The commit https://gitlab.com/robinwatts/libtiff/-/commit/be0519ca3d222c19008fe160873f3b5c28e6b36b states:
Thunder RLE can fail to decode last run. Bug seen with GhostPDL. Decode of test tif file gives valgrind errors due to the "thunder decode" failing to extract the final run of compressed pixels.
The logic in the decoder, presumably intended to spot overruns of data, is incorrect in that runs that end at the end of a row (npixels == maxpixels) will not be decoded.
Fix this by limiting 'n', the number of pixels to copy. Note that npixels is updated by the 'unlimited' value to ensure the error reporting at the end of the loop still works.
2024-05-18 Even Rouault <even.rouault@spatialys.com>
Merge branch 'tiff2ps_fax2tiff_476' into 'master'
fix fax2ps and fax2tiff bugs #476
See merge request libtiff/libtiff!598
2024-05-18 Lee Howard <faxguy@howardsilvan.com>
Fix fax2ps and fax2tiff memory leaks.
Fixes #476
2024-05-17 Even Rouault <even.rouault@spatialys.com>
Merge branch 'tiff2rgba_469' into 'master'
fix tiff2rgba issue #469
See merge request libtiff/libtiff!600
2024-05-17 Even Rouault <even.rouault@spatialys.com>
Merge branch 'formatting-fixes' into 'master'
Formatting fixes
See merge request libtiff/libtiff!622
2024-05-17 Even Rouault <even.rouault@spatialys.com>
Formatting fixes.
2024-05-17 Even Rouault <even.rouault@spatialys.com>
Merge branch 'coverity_fixes' into 'master'
3 Coverity Scan fixes in tools & contrib
See merge request libtiff/libtiff!592
2024-05-17 Even Rouault <even.rouault@spatialys.com>
Merge branch 'tiff2pdf_596' into 'master'
tiff2pdf issue #596
See merge request libtiff/libtiff!594
2024-05-17 Even Rouault <even.rouault@spatialys.com>
Merge branch 'tiffdither_473' into 'master'
fix tiffdither bug #473
See merge request libtiff/libtiff!599
2024-05-17 Even Rouault <even.rouault@spatialys.com>
Merge branch 'fax2tiff_468' into 'master'
fix fax2tiff issue #468
See merge request libtiff/libtiff!601
2024-05-17 Even Rouault <even.rouault@spatialys.com>
Merge branch 'tiff2rgba_background' into 'master'
Add background gradient option for tiff2rgba alpha compositing.
See merge request libtiff/libtiff!610
2024-05-17 Lee Howard <faxguy@howardsilvan.com>
Add background gradient option for tiff2rgba alpha compositing.
2024-05-17 Even Rouault <even.rouault@spatialys.com>
Merge branch 'tiff2pdf_253' into 'master'
Fix tiff2pdf issue #253 - red and blue were being swapped for RGBA decoding
See merge request libtiff/libtiff!603
2024-05-17 Even Rouault <even.rouault@spatialys.com>
Merge branch 'fax2tiff_249' into 'master'
Fix fax2tiff issue #249, unreasonable width input
See merge request libtiff/libtiff!604
2024-05-17 Even Rouault <even.rouault@spatialys.com>
Merge branch 'tiffcp_tiffcrop_228' into 'master'
correct tiffcp and tiffcrop issue #228
See merge request libtiff/libtiff!605
2024-05-17 Even Rouault <even.rouault@spatialys.com>
OJPEG: reset subsampling_convert_state =0 in OJPEGPreDecode (fixes tiff2pdf issue #183)
2024-05-17 Even Rouault <even.rouault@spatialys.com>
Merge branch 'fax2tiff_191' into 'master'
Fix fax2tiff issue #191 - EOFB interpretation
See merge request libtiff/libtiff!606
2024-05-17 Even Rouault <even.rouault@spatialys.com>
Merge branch 'tiff2pdf_98' into 'master'
Fix tiff2pdf documentation issue #98
See merge request libtiff/libtiff!608
2024-05-17 Even Rouault <even.rouault@spatialys.com>
Merge branch 'tiffgt_warning' into 'master'
Avoids a warning regarding fallthrough.
See merge request libtiff/libtiff!609
2024-05-17 Even Rouault <even.rouault@spatialys.com>
Merge branch 'tiffcrop_542_550_552' into 'master'
tiffcrop: fixes #542, #550, #552 (buffer overflows, use after free)
See merge request libtiff/libtiff!595
2024-05-17 Lee Howard <faxguy@howardsilvan.com>
tiffcrop: fixes #542, #550, #552 (buffer overflows, use after free)
2024-05-17 Even Rouault <even.rouault@spatialys.com>
Merge branch 'Fedora_am_version' into 'master'
libtiff-am-version.patch from Fedora stating:
See merge request libtiff/libtiff!617
2024-05-17 Even Rouault <even.rouault@spatialys.com>
Merge branch 'formatting-fixes' into 'master'
Code formatting fixes
See merge request libtiff/libtiff!620
2024-05-17 Even Rouault <even.rouault@spatialys.com>
Code formatting fixes.
Result of running ``pre-commit run --all``
2024-05-17 Even Rouault <even.rouault@spatialys.com>
Merge branch 'sphinx_quotes_dashes' into 'master'
Don't let Sphinx inconsistently alter quotes and dashes in rst files.
See merge request libtiff/libtiff!615
2024-05-17 Even Rouault <even.rouault@spatialys.com>
Merge branch 'tiffmedian_599' into 'master'
tiffmedian issue #599
See merge request libtiff/libtiff!593
2024-05-17 Lee Howard <faxguy@howardsilvan.com>
tiffmedian: fix memory leaks.
Closes #599
2024-05-17 Even Rouault <even.rouault@spatialys.com>
Merge branch 'more_spelling_corrections' into 'master'
Typo fixes following...
See merge request libtiff/libtiff!618
2024-05-17 Lee Howard <faxguy@howardsilvan.com>
Typo fixes following https://gitlab.com/libtiff/libtiff/-/commit/c95c77350820e19c8e273925bc97259727d19695
2024-05-16 Lee Howard <faxguy@howardsilvan.com>
libtiff-am-version.patch from Fedora stating: Back off the minimum required automake version to 1.11. There isn't anything in libtiff currently that actually requires 1.12, and changing this allows the package to be built on pre-F18 machines for easier testing.
Don't let Sphinx inconsistently alter quotes and dashes in rst files. Author: Laszlo Boszormenyi (GCS) <gcs@debian.org> Bug-Debian: https://bugs.debian.org/1028456
Add basic sanity check for tiffcp LZW->JBIG conversion.
Avoids a warning regarding fallthrough.
Fix tiff2pdf documentation issue #98.
Fix fax2tiff issue #191 - EOFB interpretation.
Update tiffcp.c.
Correct tiffcrop output of RGB JPEG and tiffcp/tiffcrop documentation - issue #228
Fix tiffcp and tiffcrop issue 228 - step 1.
Fix fax2tiff issue #249, unreasonable width input.
Fix tiff2pdf issue #253 - red and blue were being swapped for RGBA decoding
fix fax2tiff issue #468.
fix tiff2rgba issue #469.
fix tiffdither bug #473.
tiff2pdf issue #596.
2024-05-16 Even Rouault <even.rouault@spatialys.com>
contrib/addtiffo: validate return of TIFFWriteEncodedXXXX() calls (CID 1024680)
tiffdump.c: fix wrong printf formattre in error message (CID 1472932)
tiffset.c: avoid false positive Coverity Scan warning on 64-bit builds (CID 1518997)
2024-05-16 Even Rouault <even.rouault@spatialys.com>
Merge branch 'master' into 'master'
Fix some Coverity warnings.
See merge request libtiff/libtiff!590
2024-05-16 Lee Howard <faxguy@howardsilvan.com>
Fix some Coverity warnings.
2024-05-13 Even Rouault <even.rouault@spatialys.com>
Merge branch 'revert_tools_removement' into 'master'
Restore tools from archive and unsupported and tiffcp -i option with revert.
See merge request libtiff/libtiff!589
2024-05-11 Su_Laus <sulau@freenet.de>
Apply some newer changes to the reverted code and prepare note for 4.7.0.
Revert "Remove -i option (ignore errors) from tiffcp, because almost all fuzzer issues were consequential errors from ignored errors because of the "-i" option."
This reverts commit 280a568ae887c27a422a5da862398ffdbcd9b84d.
2024-05-11 Su_Laus <sulau@freenet.de>
Revert "Move most TIFF tools to archive and keep some as unsupported (see #580)."
This reverts commit eab89a627f0a65e9a1a47c4b30b4802c80b1ac45.
# Conflicts:
# tools/unsupported/CMakeLists.txt
# tools/unsupported/tif_tools-unsupported_versioninfo.rc
2024-05-10 Even Rouault <even.rouault@spatialys.com>
Merge branch 'calloc-transposed-args' into 'master'
Fix -Werror=calloc-transposed-args with gcc 14
See merge request libtiff/libtiff!588
2024-05-10 Even Rouault <even.rouault@spatialys.com>
Fix -Werror=calloc-transposed-args with gcc 14.
2024-05-09 Even Rouault <even.rouault@spatialys.com>
Merge branch 'EvaluateIFDdatasizeReading_ossfuzz_68327' into 'master'
EvaluateIFDdatasizeReading(): avoid unsigned integer overflow (master only)
See merge request libtiff/libtiff!586
2024-04-27 Even Rouault <even.rouault@spatialys.com>
EvaluateIFDdatasizeReading(): avoid unsigned integer overflow (master only)
Fixes https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=68327
2024-04-25 Even Rouault <even.rouault@spatialys.com>
Merge branch 'ci-appveyor-cygwin-upgrade' into 'master'
appveyor: Upgrade cygwin packages
See merge request libtiff/libtiff!585
2024-04-25 Roger Leigh <rleigh@codelibre.net>
appveyor: Upgrade cygwin packages.
2024-04-25 Even Rouault <even.rouault@spatialys.com>
Merge branch 'libjpeg_turbo_3_0' into 'master'
Change messages/comments refering libjpeg-turbo 2.2 to 3.0
See merge request libtiff/libtiff!584
2024-04-24 Even Rouault <even.rouault@spatialys.com>
Change messages/comments refering libjpeg-turbo 2.2 to 3.0.
libjpeg-turbo 2.2 was actually released as 3.0. Reflect that
2024-04-22 Even Rouault <even.rouault@spatialys.com>
Merge branch 'EvaluateIFDdatasizeReading_unsigned_int_overflow_fix' into 'master'
EvaluateIFDdatasizeReading(): avoid potential unsigned integer overflow on corrupted tag
See merge request libtiff/libtiff!582
2024-04-22 Even Rouault <even.rouault@spatialys.com>
EvaluateIFDdatasizeReading(): avoid potential unsigned integer overflow on corrupted tag
2024-04-22 Even Rouault <even.rouault@spatialys.com>
Merge branch 'tif_dir_logging-627' into 'master'
tif_dir.c: Log source file, line number, and input tif for directory count error.
Closes #627
See merge request libtiff/libtiff!583
2024-04-22 Kurt Schwehr <schwehr@gmail.com>
tif_dir.c: Log source file, line number, and input tif for directory count error.
2024-04-14 Even Rouault <even.rouault@spatialys.com>
Merge branch 'fix_readrgbastrip_fpe' into 'master'
Avoiding FPEs (division by zero) in tif_getimage.c
See merge request libtiff/libtiff!580
2024-04-09 Zurab Tsinadze <zurab.tsinadze@epfl.ch>
Avoid FPEs (division by zero) in tif_getimage.c.
2024-04-06 Even Rouault <even.rouault@spatialys.com>
Merge branch 'appveyor-vs2022' into 'master'
appveyor: Add VS2022 builds
See merge request libtiff/libtiff!579
2024-04-06 Roger Leigh <rleigh@codelibre.net>
appveyor: Add VS2022 builds.
2024-04-04 Roger Leigh <rleigh@codelibre.net>
Merge branch 'appveyor-mingw-fix' into 'master'
appveyor: Use MinGW-w64
See merge request libtiff/libtiff!578
2024-04-04 Roger Leigh <rleigh@codelibre.net>
appveyor: Use MinGW-w64.
2024-04-03 Even Rouault <even.rouault@spatialys.com>
Merge branch 'update_rfc1_status' into 'master'
RFC1: update status to adopted
See merge request libtiff/libtiff!577
2024-04-03 Even Rouault <even.rouault@spatialys.com>
RFC1: update status to adopted.
2024-04-03 Even Rouault <even.rouault@spatialys.com>
Merge branch 'rfc1_psc' into 'master'
Doc: add 'RFC 1: Project Steering Committee Guidelines' and a PSC page
See merge request libtiff/libtiff!566
2024-04-03 Even Rouault <even.rouault@spatialys.com>
Doc: add 'RFC 1: Project Steering Committee Guidelines' and a PSC page.
2024-04-02 Even Rouault <even.rouault@spatialys.com>
Merge branch 'fix_coverity_test_directory_expansion' into 'master'
Fix coverity scan issue in test_directory.c
See merge request libtiff/libtiff!576
2024-04-02 Su_Laus <sulau@freenet.de>
Fix coverity scan issue in test_directory.c.
2024-04-02 Even Rouault <even.rouault@spatialys.com>
Merge branch 'typo_fixes' into 'master'
Various typo fixes
See merge request libtiff/libtiff!575
2024-04-02 Even Rouault <even.rouault@spatialys.com>