summaryrefslogtreecommitdiff
path: root/libtiff/tiffiop.h
Commit message (Collapse)AuthorAgeFilesLines
* Fix size overflow (zdi-can-1221,CVE-2012-1173) care of Tom Lane @ Red Hat.fwarmerdam2012-04-061-2/+2
|
* avoid declaring uint64/int64 on AIX where it is already available (#2301)fwarmerdam2011-03-211-2/+5
|
* * tools/tiff2rgba.c: Applied portion of patch (from Tom Lane)bfriesen2010-06-121-2/+2
| | | | | | | | | | which was left out in order to fully resolve "CVE-2009-2347 libtiff: integer overflows in various inter-color space conversion tools". http://bugzilla.maptools.org/show_bug.cgi?id=2079 * libtiff/tiffiop.h (TIFFSafeMultiply): Need more castings to avoid compiler warnings if parameter types are not sign consistent.
* * libtiff/tiffiop.h (TIFFSafeMultiply): Work properly ifbfriesen2010-06-101-2/+2
| | | | multiplier is zero.
* * libtiff/tif_fax3.c (Fax3SetupState): Yesterday's fix forbfriesen2010-06-091-1/+4
| | | | | | | | | | CVE-2010-1411 was not complete. * libtiff/tiffiop.h (TIFFSafeMultiply): New macro to safely multiply two integers. Returns zero if there is an integer overflow. * tools/tiffcp.c (main): Fix more TIFF handle leaks.
* * tools/tiffcrop.c: Removed duplicated macros such asbfriesen2010-06-081-2/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | TIFFhowmany(). * Update libtool to version 2.2.8. * libtiff/tif_fax3.c (Fax3SetupState): Avoid under-allocation of buffer due to integer overflow in TIFFroundup() and several other potential overflows. In conjunction with the fix to TIFFhowmany(), fixes CVE-2010-1411. * libtiff/tiffiop.h (TIFFhowmany): Return zero if parameters would result in an integer overflow. This causes TIFFroundup() to also return zero if there would be an integer overflow. * libtiff/tif_read.c (TIFFReadBufferSetup): Return an error if tif_rawdatasize becomes zero due to an initial raw size of zero or an overflow reported by TIFFroundup(). * libtiff/tif_ojpeg.c (OJPEGReadBufferFill): Report an error and avoid a crash if the input file is so broken that the strip offsets are not defined. * tools/tiffcp.c (main): tiffcp should not leak memory if an error is reported when reading the input file.
* * Add an emacs formatting mode footer to all source files so thatbfriesen2010-06-081-1/+8
| | | | emacs can be effectively used.
* * libtiff/tiffiop.h: Add private type declarations for int64, andbfriesen2009-01-061-17/+18
| | | | | uint64 so that bundled utilities (like tiffcrop) can use it when necessary.
* BigTIFF upgrade in progressjoris2007-03-171-11/+17
|
* Added a comments about future development directions.dron2006-10-121-2/+3
|
* *** empty log message ***dron2006-07-281-2/+2
|
* Small fix in TIFFhowmany8() macro.dron2006-07-281-17/+20
|
* Move IFD looping checking code in the separate function TIFFCheckDirOffset().dron2006-06-081-1/+3
|
* *** empty log message ***joris2006-03-251-1/+3
|
* Added decalration for _TIFFSetDefaultCompressionState().dron2006-03-161-1/+2
|
* dblparam_t typedef removed; GLOBALDATA macro removed; move here thedron2006-03-151-8/+8
| | | | STRIP_SIZE_DEFAULT macro definition.
* *** empty log message ***joris2005-12-211-1/+3
|
* Rename TIFFArraySize macro to TIFFArrayCount.dron2005-12-131-2/+2
|
* Added TIFFArraySize macro.dron2005-12-091-1/+3
|
* TIFFreeDirectory() now publicfwarmerdam2005-11-031-2/+1
|
* Small fix for the previous commit.dron2005-07-281-2/+2
|
* Rename CheckMalloc() function to _TIFFCheckMalloc() and make it availabledron2005-07-281-1/+3
| | | | globally as an internal helper routine.
* Use #ifdef instead of #if in header conditionals.dron2005-07-111-6/+6
|
* Added lfind() replacement module.dron2005-07-071-1/+4
|
* Added open option 'h' to avoid reading the first IFD when needed. As per bugdron2005-07-011-1/+3
| | | | http://bugzilla.remotesensing.org/show_bug.cgi?id=875
* tif_nfields should be of size_t type.dron2005-06-291-2/+2
|
* Make tif_nfields field uint32.dron2005-06-281-2/+2
|
* Use #if instead of #ifdef.dron2005-06-031-2/+2
|
* Added _TIFFSwab24BitData() and TIFFSwabArrayOfLong() functions used to swapdron2005-04-131-1/+2
| | | | 24-bit floating point values.
* Use uint32 type for appropriate values in _TIFFVSetField() function. Inspireddron2005-04-081-6/+10
| | | | by the bug http://bugzilla.remotesensing.org/show_bug.cgi?id=816
* Added EXIF related tags.dron2005-03-171-1/+2
|
* Ensure that we get rid of the asserts if we don't have assert.h.fwarmerdam2004-10-301-1/+3
|
* Added check for assert.h header.dron2004-10-021-1/+5
|
* More overflow fixes from Dmitry V. Levin.dron2004-09-241-3/+4
|
* Implemented TIFFhowmany8() macro.dron2004-09-221-4/+4
|
* Get rid of BSD data types (u_char, u_short, u_int, u_long).dron2004-09-141-15/+3
|
* Make tif_foundfield constant pointer.dron2004-08-191-2/+2
|
* Fixed problem with the static variable as per bugdron2004-08-181-1/+2
| | | | http://bugzilla.remotesensing.org/show_bug.cgi?id=593
* config.h.in and config.h.vc files renamed in the tif_config.h.in anddron2004-08-011-2/+2
| | | | tif_config.h.vc.
* *** empty log message ***dron2004-06-071-2/+2
|
* *** empty log message ***dron2004-06-051-4/+4
|
* New macro added.dron2004-06-051-4/+10
|
* Define BSDTYPES.dron2004-06-041-1/+19
|
* *** empty log message ***dron2004-06-041-6/+2
|
* tiffcomp.h removed.dron2004-06-041-7/+1
|
* *** empty log message ***dron2004-04-201-3/+1
|
* *** empty log message ***dron2004-04-201-19/+2
|
* *** empty log message ***dron2004-03-261-22/+32
|
* *** empty log message ***dron2004-03-191-2/+19
|
* Move TIFFCleanup() back to the tiffio.h.dron2004-01-301-2/+1
|