1<HTML> 2<HEAD> 3<TITLE> 4 Changes in TIFF v4.0.4 5</TITLE> 6</HEAD> 7 8<BODY BGCOLOR=white> 9<FONT FACE="Helvetica, Arial, Sans"> 10 11<BASEFONT SIZE=4> 12<B><FONT SIZE=+3>T</FONT>IFF <FONT SIZE=+2>C</FONT>HANGE <FONT SIZE=+2>I</FONT>NFORMATION</B> 13<BASEFONT SIZE=3> 14 15<UL> 16<HR SIZE=4 WIDTH=65% ALIGN=left> 17<B>Current Version</B>: v4.0.4<BR> 18<B>Previous Version</B>: <A HREF=v4.0.4beta.html>v4.0.4beta</a><BR> 19<B>Master FTP Site</B>: <A HREF="ftp://download.osgeo.org/libtiff"> 20download.osgeo.org</a>, directory pub/libtiff</A><BR> 21<B>Master HTTP Site</B>: <A HREF="http://www.simplesystems.org/libtiff/"> 22http://www.simplesystems.org/libtiff/</a> 23<HR SIZE=4 WIDTH=65% ALIGN=left> 24</UL> 25 26<P> 27This document describes the changes made to the software between the 28<I>previous</I> and <I>current</I> versions (see above). If you don't 29find something listed here, then it was not done in this timeframe, or 30it was not considered important enough to be mentioned. The following 31information is located here: 32<UL> 33<LI><A HREF="#highlights">Major Changes</A> 34<LI><A HREF="#configure">Changes in the software configuration</A> 35<LI><A HREF="#libtiff">Changes in libtiff</A> 36<LI><A HREF="#tools">Changes in the tools</A> 37<LI><A HREF="#contrib">Changes in the contrib area</A> 38</UL> 39<p> 40<P><HR WIDTH=65% ALIGN=left> 41 42<!---------------------------------------------------------------------------> 43 44<A NAME="highlights"><B><FONT SIZE=+3>M</FONT>AJOR CHANGES:</B></A> 45 46<UL> 47 48 <li> None 49 50</UL> 51 52 53<P><HR WIDTH=65% ALIGN=left> 54<!---------------------------------------------------------------------------> 55 56<A NAME="configure"><B><FONT SIZE=+3>C</FONT>HANGES IN THE SOFTWARE CONFIGURATION:</B></A> 57 58<UL> 59 60 <LI> configure.ac / configure 61 <UL> 62 <LI> Bugzilla Bug #2405: Correct shell equality operator. 63 <LI> Bugzilla Bug #2498: Adds an option to select the file I/O style on Windows hosts. 64 </UL> 65 66</UL> 67 68<P><HR WIDTH=65% ALIGN=left> 69 70<!---------------------------------------------------------------------------> 71 72<A NAME="libtiff"><B><FONT SIZE=+3>C</FONT>HANGES IN LIBTIFF:</B></A> 73 74<UL> 75 76 <LI> tif_dir.c: 77 <UL> 78 <LI> TIFFNumberOfDirectories: Coverity 1134470 "Logically dead code" 79 </UL> 80 81 <LI> tif_dirread.c: 82 <UL> 83 <LI> TIFFReadDirEntryDoubleArray: Coverity 298626 "Logically dead code". 84 <LI> TIFFReadDirEntryFloatArray: Coverity 298627 "Logically dead code". 85 <LI> TIFFReadDirEntryIfd8Array: Coverity 298628 "Logically dead code". 86 <LI> TIFFReadDirEntrySlong8Array: Coverity 298629 "Logically dead code" 87 </UL> 88 89 <LI> tif_dirwrite.c 90 <UL> 91 <LI> _TIFFRewriteField: Coverity 1024310 "Resource leak". 92 </UL> 93 94 <LI> tif_jpeg.c 95 <UL> 96 <LI> JPEGCleanup: Coverity 298624 "Dereference before null check". 97 <LI> JPEGDecode: Coverity 602597 "Operands don't affect result". 98 </UL> 99 100 <LI> tif_getimage.c 101 <UL> 102 <LI> Bugzilla Bug #2409: Correct reading of certain tiled TIFFs. 103 </UL> 104 105 <LI> tif_luv.c 106 <UL> 107 <LI> LogLuvDecodeStrip: Coverity 991239 "Division or modulo by zero". 108 <LI> LogLuvDecodeTile: Coverity 991227 "Division or modulo by zero". 109 <LI> LogLuvEncodeStrip: Coverity 991240 "Division or modulo by zero". 110 <LI> LogLuvEncodeTile: Coverity 991241 "Division or modulo by zero". 111 </UL> 112 113 <LI> tif_lzw.c 114 <UL> 115 <LI> Decode files that contain consecutive CODE_CLEAR codes. 116 </UL> 117 118 <LI> tif_ojpeg.c 119 <UL> 120 <LI> OJPEGReadBufferFill: Coverity 603400 "Missing break in switch". 121 <LI> OJPEGReadHeaderInfoSecStreamDht: Coverity 601720 "Resource leak". 122 </UL> 123 124 <LI> tif_read.c 125 <UL> 126 <LI> TIFFStartTile: Coverity 715973 and 715974 "Division or modulo by zero". 127 </UL> 128 129 <LI> tif_unix.c 130 <UL> 131 <LI> Bugzilla Bug #2510: Fix several harmless but still annoying warnings. 132 </UL> 133 134 <LI> tif_write 135 <UL> 136 <LI> TIFFWriteEncodedStrip: Coverity 715975 "Division or modulo by zero". 137 <LI> TIFFWriteEncodedTile: Coverity 715976 and 715977 "Division or modulo by zero". 138 <LI> TIFFWriteRawStrip: Coverity 715978 "Division or modulo by zero". 139 <LI> TIFFWriteScanline: Coverity 715979 "Division or modulo by zero". 140 </UL> 141 142</UL> 143 144<P><HR WIDTH=65% ALIGN=left> 145 146<!--------------------------------------------------------------------------> 147 148<A NAME="tools"><B><FONT SIZE=+3>C</FONT>HANGES IN THE TOOLS:</B></A> 149 150<UL> 151 152 <LI> bmp2tiff 153 <UL> 154 <LI> Coverity 1024225 "Untrusted value as argument". 155 <LI> Coverity 1024678 "Unchecked return value from library". 156 <LI> Coverity 1024679 "Unchecked return value from library". 157 <LI> Coverity 1214160 "Ignoring number of bytes read". 158 </UL> 159 160 <LI> gif2tiff 161 <UL> 162 <LI> Coverity 1024222 "Untrusted value as argument". 163 <LI> Coverity 1024890 "Ignoring number of bytes read". 164 <LI> Coverity 1024891 "Ignoring number of bytes read". 165 <LI> Coverity 1024892 "Ignoring number of bytes read". 166 <LI> Coverity 1024893 "Ignoring number of bytes read". 167 <LI> Coverity 1024894 "Ignoring number of bytes read". 168 </UL> 169 170 <LI> ras2tiff 171 <UL> 172 <LI> Corrected Sun Raster header definition to be safe for 173 64-bit systems. Add some header validations. Fixes many 174 (unspecified) Coverity issues. 175 <LI> Coverity 1024223 "Untrusted value as argument". 176 <LI> Coverity 1301206: "Integer handling issues (BAD_SHIFT)". 177 </UL> 178 179 <LI> raw2tiff 180 <UL> 181 <LI> Coverity 1024887 "Unchecked return value from library". 182 <LI> Coverity 1024888 "Unchecked return value from library". 183 <LI> Coverity 1024889 "Unchecked return value from library". 184 <LI> Coverity 1214162 "Ignoring number of bytes read". 185 </UL> 186 187 <LI> tiff2pdf 188 <UL> 189 <LI> Bugzilla Bug #2078. Suppress initial output of the header. 190 <LI> Bugzilla Bug #2150. Change ColorTransform from "0" to "1". 191 <LI> Take care in using the return value from snprintf(). 192 <LI> Coverity 1024181 "Structurally dead code". 193 <LI> Coverity 1024181 "Structurally dead code". 194 <LI> Coverity 1227690 "Unused value". 195 <LI> Coverity 298621 "Resource leak". 196 </UL> 197 198 <LI> tiff2ps 199 <UL> 200 <LI> Correct sizing and scaling problems with output document. 201 </UL> 202 203 <LI> tiffcp 204 <UL> 205 <LI> Coverity 1024306, 1024307, 1024308, 1024309 "Resource leak". 206 </UL> 207 208 <LI> tiffcrop 209 <UL> 210 <LI> Correctly copy the compression tag from the source TIFF. 211 <LI> Coverity 1024545 "Division or modulo by zero". 212 <LI> Coverity 1024586 "Logically dead code". 213 <LI> Coverity 1024796 "Nesting level does not match indentation". 214 <LI> Coverity 1024797 "Nesting level does not match indentation". 215 <LI> Coverity 1294542 "Logical vs. bitwise operator". 216 <LI> Coverity 1299740 "Out-of-bounds write". 217 <LI> Coverity 1299741 "Dereference before null check". 218 </UL> 219 220 <LI> tiffdither 221 <UL> 222 <LI>Check memory allocations for failure. Also check 223 multiplication overflow. (Fixes #2501, CVE-2014-8128) 224 </UL> 225 226 <LI> tiffgt.c 227 <UL> 228 <LI> Bugzilla Bug #2401. Appropriately call glFlush(). 229 </UL> 230 231 <LI> tiffmedian 232 <UL> 233 <LI> Coverity 1024386 "Out-of-bounds read". 234 <LI> Coverity 1024386 "Out-of-bounds read". 235 <LI> Coverity 1024795 "Nesting level does not match indentation". 236 <LI> Coverity 1024795 "Nesting level does not match indentation". 237 </UL> 238 239 <LI> tiffsplit 240 <UL> 241 <LI> Coverity 1024304 "Resource leak". 242 <LI> Coverity 1024305 "Resource leak". 243 </UL> 244 245</UL> 246 247<P><HR WIDTH=65% ALIGN=left> 248 249<!---------------------------------------------------------------------------> 250 251<A NAME="contrib"><B><FONT SIZE=+3>C</FONT>HANGES IN THE CONTRIB AREA:</B></A> 252 253<UL> 254 255 <LI> addtiffo 256 <UL> 257 <LI> Check buffer size calculation for overflow. 258 <LI> Coverity 298615 "Resource leak". 259 <LI> Coverity 1024649 "Unintended sign extension". 260 </UL> 261 262 <LI> iptcutil 263 <UL> 264 <LI> Coverity 1024468 "Infinite loop". 265 <LI> Coverity 1024727 "Truncated stdio return value". 266 <LI> Coverity 1214240 "Untrusted loop bound". 267 </UL> 268 269</UL> 270 271Last updated $Date: 2016-09-25 20:05:47 $. 272 273</BODY> 274</HTML> 275