Even Rouault
4f6db6a129
contrib/oss-fuzz/build.sh: fix broken if construct
2019-12-14 12:03:43 +01:00
Even Rouault
b52fb8a91d
contrib/oss-fuzz/build.sh: other attempt at fixing build failure
2019-11-28 14:18:38 +01:00
Even Rouault
ad25410d09
contrib/oss-fuzz/build.sh: install liblzma-dev for x86_64 builds
2019-11-20 12:04:31 +01:00
Even Rouault
6927706c57
contrib/oss-fuzz/build.sh: install liblzma-dev:i386 on i386 builds
2019-11-17 12:58:30 +01:00
Even Rouault
4159bda6db
contrib/oss-fuzz/build.sh: fix ossfuzz build by statically linking to lzma
2019-11-14 15:12:43 +01:00
Even Rouault
4b2a343001
tiff_read_rgba_fuzzer.cc: add a -DSTANDALONE mode for easier reproduction of oss-fuzz reports
2019-09-02 15:33:46 +02:00
Even Rouault
187e596861
oss-fuzz/tiff_read_rgba_fuzzer.cc: fix wrong env variable value in previous commit
2019-08-11 00:36:31 +02:00
Even Rouault
2c7e74245a
oss-fuzz/tiff_read_rgba_fuzzer.cc: avoid issue with libjpeg-turbo and MSAN
2019-08-11 00:24:41 +02:00
Even Rouault
76f1531f5f
contrib/oss-fuzz/build.sh: fix for i386 build of jbigkit, and use $LIB_FUZZING_ENGINE
2019-08-10 18:40:50 +02:00
Paul Kehrer
2d32b100aa
add jbig support to the fuzzer
2018-10-29 11:36:13 +08:00
Paul Kehrer
ba1eba2761
remove a pointless multiplication and a variable that's not necessary
2018-04-17 22:38:41 +08:00
Paul Kehrer
a6cfa01085
move oss-fuzz build script and fuzzer into libtiff tree
2018-04-17 08:52:07 +00:00
Stefan Weil
642b8f998e
Fix some typos
...
Most of them were found by codespell.
Signed-off-by: Stefan Weil <sw@weilnetz.de>
2018-02-24 21:47:52 +01:00
Nathan Baker
473851d211
Fix for bug 2772
...
It is possible to craft a TIFF document where the IFD list is circular,
leading to an infinite loop while traversing the chain. The libtiff
directory reader has a failsafe that will break out of this loop after
reading 65535 directory entries, but it will continue processing,
consuming time and resources to process what is essentially a bogus TIFF
document.
This change fixes the above behavior by breaking out of processing when
a TIFF document has >= 65535 directories and terminating with an error.
2018-02-12 09:43:34 -05:00
Nathan Baker
e9fa4baf1d
Fix all compiler warnings for default build
2018-02-04 23:54:17 +00:00
Even Rouault
c56eda4b7e
Remove remaining .cvsignore files
2017-12-01 15:55:10 +01:00
Even Rouault
2440a113ea
Remove autoconf/automake generated files, and add them to .gitignore
2017-12-01 15:54:48 +01:00
Even Rouault
8603db6cfa
Regenerate autoconf files
2017-11-30 18:10:01 +01:00
Even Rouault
f0a54a4fa0
Remove all $Id and $Headers comments with CVS versions
2017-11-30 18:02:46 +01:00
Bob Friesenhahn
1cb6c46b9d
fax2tiff: Pass the FAX_Client_Data struct as client data
2017-10-29 18:28:43 +00:00
Even Rouault
222083301a
* refresh autoconf/make stuff with what is on Ubuntu 16.04 (minor changes)
2017-07-11 09:10:28 +00:00
Bob Friesenhahn
c7ff695d1b
* html/bugs.html: Replace Andrey Kiselev with Bob Friesenhahn for
...
purposes of security issue reporting.
2016-04-08 02:34:00 +00:00
Even Rouault
87f02eaced
* libtiff/*.c: fix clang -Wshorten-64-to-32 warnings
2015-11-18 20:35:07 +00:00
Bob Friesenhahn
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.
2015-09-01 19:23:16 +00:00
Bob Friesenhahn
1fea0da266
All the CMakeLists.txt files were missing from the distribution tarball.
2015-08-30 21:26:45 +00:00
Bob Friesenhahn
0841549b8a
Use consistent line terminations.
2015-08-28 22:19:26 +00:00
Bob Friesenhahn
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'.
2015-06-25 02:27:58 +00:00
Bob Friesenhahn
d21d2b3057
* libtiff/tif_config.vc.h: Make adjustments to match the new
...
definitions that configure produces, including for WIN64. Still
needs to be tested.
'lld' is not assured by the run-time DLLs and so GCC warns.
Add TIFF_SIZE_T and TIFF_SIZE_FORMAT to provide a type definition
and printf format specifier to deal with printing values of
'size_t' type. In particular, this was necessary for WIN64.
Added a configure test for if the system headers provide 'optarg'
(normal case) and block out the many explicit 'extern' statements
in the utilities. This was found to be necessary under Windows
when getopt is in a DLL and the symbols are already imported with
dllimport via standard header files.
2015-06-21 01:09:09 +00:00
Bob Friesenhahn
9626bb6db9
* contrib/addtiffo/tif_overview.c (TIFF_DownSample): Check buffer
...
size calculation for overflow.
2015-05-30 21:13:39 +00:00
Bob Friesenhahn
2b221734c6
* contrib/addtiffo/addtiffo.c (main): Possibly address Coverity
...
1024226 "Untrusted value as argument".
2015-05-30 20:30:27 +00:00
Bob Friesenhahn
aea225d02e
* contrib/iptcutil/iptcutil.c (formatIPTC): Fix Coverity 1024468
...
"Infinite loop".
(formatIPTC): Fix Coverity 1024727 "Truncated stdio return value".
(formatIPTC): Fix Coverity 1214240 "Untrusted loop bound".
2015-05-29 13:43:47 +00:00
Bob Friesenhahn
f197c2dd60
* contrib/addtiffo/tif_ovrcache.c (TIFFCreateOvrCache): Fix
...
Coverity 298615 "Resource leak".
(TIFFGetOvrBlock): Fix Coverity 1024649 "Unintended sign
extension".
2015-05-29 03:08:19 +00:00
Bob Friesenhahn
5e6fbd86d2
* contrib/addtiffo/tif_ovrcache.c (TIFFCreateOvrCache): Fix
...
Coverity 298615 "Resource leak".
2015-05-28 13:26:03 +00:00
Bob Friesenhahn
1752529e75
* tools/tiffcrop.c (ROTATE_ANY): Fix Coverity 1294542 "Logical
...
vs. bitwise operator".
2015-05-28 01:50:20 +00:00
Even Rouault
a17a6e5ecd
* automake: updated to 1.15
...
* libtool: updated to 2.4.5
2015-01-26 10:29:40 +00:00
Bob Friesenhahn
429b3fdc90
* Update bundled libtool to 2.4.4 release.
2014-12-29 15:34:22 +00:00
Bob Friesenhahn
a7ced11ff1
* contrib/iptcutil/iptcutil.c: Fix warnings about variables set
...
but not used.
2014-12-26 16:10:08 +00:00
Bob Friesenhahn
3c92b0efc1
* tools/tiffdump.c: Fix double-free bug.
2014-12-06 15:58:40 +00:00
Even Rouault
d1be5cb7ad
* automake: updated to 1.14.1
...
* libtool: updated to 2.4.3
* HOWTO-RELEASE: small update about autotools building order
2014-11-20 14:28:16 +00:00
Tom Lane
b6d66f9f30
Replace sprintf with snprintf, to fix CVE-2013-1961.
2013-05-02 14:44:29 +00:00
Bob Friesenhahn
281ba91d09
* automake: Update Automake to 1.12.5 release.
2012-11-18 18:08:31 +00:00
Bob Friesenhahn
f458c10308
* Makefile.am: Update to Automake 1.12.4
2012-09-20 13:50:27 +00:00
Bob Friesenhahn
ec5ce9c2b3
* Makefile.in: Update to Automake 1.12.3
2012-08-19 17:00:46 +00:00
Bob Friesenhahn
7d38024b8d
* libtiff{tiff.h, tif_print.c, tif_dirinfo.c, tif_dirread.c}: Add
...
some TIFF/FX support in libtiff. Add the tag definitions to
tiff.h. Add the related TIFF field definitions to tif_dirinfo.c,
and also fixes an error in a comment. Adds the photometric values
to tif_print.c, and fixes a bug. These changes are by Steve
Underwood.
* libtiff/tif_write.c: Fix bug rewriting image tiles in a
2012-08-19 16:56:32 +00:00
Bob Friesenhahn
d766e7c5a0
* Update automake used to 1.11.3.
2012-02-18 21:58:02 +00:00
Bob Friesenhahn
d338f7fe22
* configure.ac: Add libtiff private dependency on -llzma for
...
pkg-config. Patch by Mark Brand.
Updated Automake to 1.11.2.
2011-12-22 17:03:48 +00:00
Frank Warmerdam
bb96a66b1d
remove use of memory.h, it is unneeded and does not exist everywhere
2011-05-08 00:44:18 +00:00
Bob Friesenhahn
c546a4ccf8
* configure.ac: Should use AC_CANONICAL_HOST since host specifies
...
the run-time target whereas target is used to specify the final
output target if the package is a build tool (like a compiler),
which libtiff is not. Resolves libtiff bug 2307 "Use
AC_CANONICAL_HOST macro".
2011-04-09 15:43:03 +00:00
Bob Friesenhahn
9f3e08cf94
Needed to add tif_lzma.c to the Makefile.
2010-12-18 16:30:15 +00:00
Andrey Kiselev
1e3630f9fd
Regenerate autotools stuff.
2010-12-14 12:54:53 +00:00