• Home
  • Raw
  • Download

Lines Matching +full:- +full:wno +full:- +full:invalid +full:- +full:source +full:- +full:encoding

2 CHANGES - changes for libpng
5 initial work-in-progress release
69 added png_read_update_info() - updates info structure with transformations
80 fixed some bugs (16-bit, 4-bit interlaced, etc.)
104 Changed warning/error callback functions to fix bug - this means you
116 in pngconf.h) - if nobody uses this, it may disappear in the future.
119 Added more error checking for writing and image to reduce invalid files
130 libpng will use the zlib CRC routines by (compile-time) default
131 Changed DOS small/medium model memory support - needs zlib 1.04 (Tim Wegner)
140 of nearly identical error messages (will simplify multi-lingual
142 Try to get ready for unknown-chunk callback functions:
143 - previously read critical chunks are flagged, so the chunk handling
145 - all chunk handling routines have the same prototypes, so we will
158 packed-pixel bytes (Kevin Bracey)
164 Changed several variables to "png_size_t" to show 16/32-bit limitations
169 Added macros to read 16- and 32-bit ints directly from buffer, to be
187 Fixed 256-color transparency bug (Greg Roelofs)
201 Fixed bug in gamma handling of 4-bit grayscale
202 Added 2-bit grayscale gamma handling (Glenn R-P)
203 Added more typecasts. 65536L becomes (png_uint_32)65536L, etc. (Glenn R-P)
205 Added simple sRGB support (Glenn R-P)
208 all configurable options can be selected from command-line instead
209 of having to edit pngconf.h (Glenn R-P)
210 Fixed memory leak in pngwrite.c (free info_ptr->text) (Glenn R-P)
216 Added "-m" option and PNGTEST_DEBUG_MEMORY to pngtest (John Bowler)
217 Regularized version numbering scheme and bumped shared-library major
223 Fixed memory leaks in pCAL chunk processing (Glenn R-P and John Bowler)
230 Added png_invert_alpha capability (Glenn R-P -- suggestion by Jon Vincent)
234 Free info_ptr->text instead of end_info_ptr->text in pngread.c (John Bowler)
242 png_get_image_height(), etc. (Glenn R-P, suggestion by Brad Pettit)
243 Added TARGET_MACOS similar to zlib-1.0.8
268 Check for overlength tRNS chunk present when indexed-color PLTE is read.
280 Changed pngtest to report PASS even when file size is different (Jean-loup G.)
310 Replaced ansi2knr.c with the one from jpeg-v6
322 Make months range from 1-12 in png_convert_to_rfc1123
341 Added grayscale and 16-bit capability to png_do_read_filler().
346 than num_palette entries -- test was done before num_palette was defined.
355 Fixed two bugs (missing definitions of "istop") introduced in libpng-1.0.1a.
357 More work on the Paeth-filtering, achieving imperceptible speedup
366 Fixed a bug in pngrtran.c (introduced in libpng-1.0.1a) where the masks for
381 Revised png_read_rows() to avoid repeated if-testing for NULL (A Kleinert)
387 Changed several loops from count-down to count-up, for consistency.
395 error that was introduced in libpng-0.90 that can cause gamma processing
399 Add png_free(png_ptr->time_buffer) in png_destroy_read_struct()
401 Added capability for user-provided malloc_fn() and free_fn() functions,
412 the left-most pixel of each row (Kevin Bracey).
416 even when no tIME chunk was present in the source file.
417 Fixed a problem in pngrutil.c: gray_to_rgb didn't always work with 16-bit.
424 Fixed a documentation error about default filtering with 8-bit indexed-color.
431 Changed "ln -sf" to "ln -s -f" in makefile.s2x, makefile.lnx, and
451 Added check if png_ptr->trans is defined before freeing it in pngread.c
454 Modified makefile.wat (added -zp8 flag, ".symbolic", changed some comments)
461 Updated documentation to refer to the PNG-1.2 specification.
462 Removed ansi2knr.c and left pointers to the latest source for ansi2knr.c
465 channels to 16-bit images, in pngrtran.c (Chris Nokleberg)
473 consistent with PNG-1.2, and allow variance of 500 before complaining.
477 Changed "ln -s -f" to "ln -f -s" in the makefiles to make Solaris happy.
494 Added a check in pngwrite.c to detect invalid small window_bits sizes.
510 Updated pngvcrd.c to use the faster C filter algorithms from libpng-1.0.1a
518 Changed several division operations to right-shifts in pngvcrd.c
522 Added a comment in makefile.linux warning about buggy -O3 in pgcc 2.95.1
528 Added "Libpng is OSI Certified Open Source Software" statement to png.h
533 Re-enabled some parts of pngvcrd.c (png_combine_row) that work properly.
537 Replaced some instances of memcpy with simple assignments in pngvcrd (GR-P)
545 Added a "contrib" directory containing the source code from Greg's book.
557 Added code in pngwrite.c to free info_ptr->text[i].key to stop a memory leak.
577 Removed some extraneous "-I" from contrib/pngminus/makefile.std
578 Changed the PNG_sRGB_INTENT macros in png.h to be consistent with PNG-1.2.
596 NOTE: Applications that write text chunks MUST define png_text->lang
610 Removed comments on #endifs at the end of many short, non-nested #if-blocks.
615 Removed "- [date]" from the "synopsis" line in libpng.3 and libpngpf.3.
631 fixed-point functions such as png_set_gAMA_fixed() were added.
632 Expanded tabs and removed trailing blanks in source files.
639 Added a test for up->location != 0 in the first instance of writing
657 The "Note" above, about backward incompatibility of libpng-1.0.5e, no
662 Reversed the order of trying to write floating-point and fixed-point gAMA.
669 Eliminated erroneous warnings about multiple sPLT chunks and sPLT-after-PLTE.
670 Fixed a libpng-1.0.5h bug in pngrutil.c that was issuing erroneous warnings
682 Added high-level functions png_read_png(), png_write_png(), png_free_pixels().
686 own memory for info_ptr->palette. This makes it safe for the calling
713 Revised some of the DLL-export macros in pngconf.h (Greg Roelofs)
726 Modified png_read_png() to allocate info_ptr->row_pointers only if it
731 Fixed "interlace" typo (should be "interlaced") in contrib/gregbook/read2-x.c
732 Fixed bug with use of PNG_BEFORE_IHDR bit in png_ptr->mode, introduced when
733 PNG_FLAG_HAVE_CHUNK_HEADER was moved into png_ptr->mode in version 1.0.5b
735 a 24-bit visual if one is available, and to allow abbreviated options.
744 Added makefile.bc32 (32-bit Borland C++, C mode)
755 Minor revisions of makefile.bor, libpng.txt, and gregbook/rpng2-win.c
765 Added a check for info_ptr->free_me&PNG_FREE_TEXT when freeing text in png.c
766 Simplify png_sig_bytes() function to remove use of non-ISO-C strdup().
770 In the code that checks for over-length tRNS chunks, added check of
771 info_ptr->num_trans as well as png_ptr->num_trans (Matthias Benckmann)
789 Added png_pass-* arrays to pnggccrd.c when PNG_USE_LOCAL_ARRAYS is defined.
792 Relocated info_ptr->free_me, png_ptr->free_me, and other info_ptr and
793 png_ptr members to restore binary compatibility with libpng-1.0.5
794 (breaks compatibility with libpng-1.0.6).
797 Changed shared library so-number pattern from 2.x.y.z to xy.z (this builds
816 the high-level interface, and unknown chunks support (all new in 1.0.6).
818 directly as authors were instructed to do in libpng-0.88 and earlier,
839 overrun when old applications fill the info_ptr->text structure directly.
862 Removed info_ptr->valid tests from png_free_data(), as in version 1.0.5.
880 Added "msvc" directory with MSVC++ project files (Simon-Pierre Cadieux).
885 Added PNG_NO_POINTER_INDEXING macro to use array-indexing instead of pointer
919 Revised pnggccrd.c to work with gcc-2.95.2 and in the Cygwin environment.
927 for indexed-color input files to avoid potential double-freeing trans array
946 Fixed seqence-point bug in contrib/pngminus/png2pnm (Martin Zinser)
984 Added new PNG_HAVE_PNG_SIGNATURE bit to png_ptr->mode and use it to
1002 Improved handling of out-of-spec garbage iCCP chunks generated by PhotoShop.
1018 be re-enabled in version 1.2.0.
1025 Added "-nommx" parameter to contrib/gregbook/rpng2-win and rpng2-x demos.
1053 Removed a no-longer needed AIX work-around from pngconf.h
1054 Changed several "//" single-line comments to C-style in pnggccrd.c
1075 Added some never-to-be-executed code in pnggccrd.c to quiet compiler warnings.
1079 libpng-0.88 and earlier.
1083 Re-enabled PNG_MNG_FEATURES_SUPPORTED and enabled PNG_ASSEMBLER_CODE_SUPPORTED
1096 Bumped shared-library (so-number) and dll-number to 3.
1101 Bumped shared-library number to 3 in makefile.sgi and makefile.sggcc
1102 Bumped dll-number from 2 to 3 in makefile.cygwin
1103 Revised contrib/gregbook/rpng*-x.c to avoid a memory leak and to exit cleanly
1104 if user attempts to run it on an 8-bit display.
1116 Revised pnggccrd.c to conditionally compile some thread-unsafe code only
1119 value exceeding 2^bit_depth-1
1122 Removed restriction that do_invert_mono only operate on 1-bit opaque files
1126 Fixed contrib/gregbook/rpng-x.c, rpng2-x.c to avoid crash with XFreeGC().
1160 Always allocate 256-entry internal palette, hist, and trans arrays, to
1161 avoid out-of-bounds memory reference caused by invalid PNG datastreams.
1171 Revised makefile.darwin to remove "-undefined suppress" option.
1173 the limit for PNG unsigned 32-bit integers when encoded.
1179 Check chunk_length and idat_size for invalid (over PNG_MAX_UINT) lengths.
1180 Check for invalid image dimensions in png_get_IHDR.
1182 Added install-static to all makefiles that make shared libraries.
1188 Modified shared-library makefiles to install pkgconfig/libpngNN.pc.
1192 Added install-shared target to all makefiles that make shared libraries.
1199 Relocated a misplaced /bin/rm in the "install-shared" makefile targets
1200 Added PNG_1_0_X macro which can be used to build a 1.0.x-compatible library.
1204 Check for invalid bit_depth or color_type in png_get_IHDR(), and
1224 Add "mem_ptr = png_ptr->mem_ptr" in png_destroy_write_struct() (Paul Gardner).
1238 Fixed VER -> PNGVER typo in makefile.macosx and added install-static to
1250 Added install-man target to 15 makefiles (Dimitri Papadopolous-Orfanos).
1253 Updated cygwin-specific portion of pngconf.h and revised makefile.cygwin
1268 Added "libpng.pc" dependency to the "install-shared" target in 15 makefiles.
1275 Typos in *.def files (png_default_read|write -> png_default_read|write_data)
1277 Added libpng-config and libpngNN-config and modified makefiles to install
1285 Revised 15 makefiles to build libpng-config from libpng-config-*.in
1294 Removed leftover libpng-config "sed" script from four makefiles.
1295 Revised libpng-config creating script in 16 makefiles.
1298 Revised libpng-config target in makefile.cygwin.
1303 Changed -lpng to -lpngNN in LDFLAGS in several makefiles.
1306 Added libpng.pc and libpng-config to "all:" target in 16 makefiles.
1313 Plugged memory leak of png_ptr->current_text (Matt Holgate).
1315 Added -soname to the loader flags in makefile.dec, makefile.sgi, and
1317 Added "test-installed" target to makefile.linux, makefile.gcmmx,
1323 Added "test-installed" target to makefile.32sunu, makefile.64sunu,
1328 Added "test-installed" target to makefile.cygwin and makefile.sco.
1343 Prevent png_ptr->pass from exceeding 7 in png_push_finish_row().
1356 Revised 13 makefiles to remove "-lz" and "-L$(ZLIBLIB)", etc., from shared
1362 Revised libpng-config script.
1373 Fixed memory overrun bug in png_do_read_filler() with 16-bit datastreams,
1378 Added libpng-config "--ldopts" output.
1386 Changed the one instance of "ln -sf" to "ln -f -s" in each Sun makefile.
1396 on 16-bit platforms (Cosmin).
1398 Used proper type png_fixed_point, to avoid problems on 16-bit platforms,
1406 Replaced row_info->rowbytes with row_bytes in png_write_find_filter()
1408 Fixed definition of PNG_LIBPNG_VER_DLLNUM (Simon-Pierre).
1410 values in png.c (Simon-Pierre, Cosmin).
1411 Initialized png_libpng_ver[] with PNG_LIBPNG_VER_STRING (Simon-Pierre).
1413 (Simon-Pierre).
1416 Relocated #ifndef PNGAPI guards in pngconf.h (Simon-Pierre, Cosmin).
1418 Updated the MSVC project (Simon-Pierre, Cosmin).
1450 Revised "clobber list" in pnggccrd.c so it will compile under gcc-3.4.
1460 Fixed buffer overflow vulnerability (CVE-2004-0597) in png_handle_tRNS().
1461 Fixed NULL dereference vulnerability (CVE-2004-0598) in png_handle_iCCP().
1462 Fixed integer overflow vulnerability (CVE-2004-0599) in png_read_png().
1465 Fixed some timestamps in the -config version
1469 Imposed default one million column, one-million row limits on the image
1480 Fixed off-by-one error in one of the conversions to PNG_ROWBYTES() in
1484 Fixed problem with 64-bit compilers by casting arguments to abs()
1486 Changed "ln -sf" to "ln -f -s" in three makefiles (solaris, sco, so9).
1488 Added "-@/bin/rm -f $(DL)/$(LIBNAME).so.$(PNGMAJ)" to 15 *NIX makefiles.
1489 Added code to update the row_info->colortype in png_do_read_filler() (MSB).
1493 trouble with some 64-bit compilers. Created PNG_OUT_OF_RANGE() macro.
1514 Added "test-dd" target in 15 makefiles, to run pngtest in DESTDIR.
1519 Fixed bug with sCAL chunk and big-endian machines (David Munro).
1533 Fixed bug, introduced in libpng-1.2.7, that overruns a buffer during
1549 Set png_ptr->zstream.data_type to Z_BINARY, to avoid unnecessary detection
1555 Use png_ptr->flags instead of png_ptr->transformations to pass
1572 if (png_ptr->transformations || (png_ptr->flags&PNG_FLAG_STRIP_ALPHA))
1576 Reverted pngrutil.c to version libpng-1.2.8beta5.
1581 Added projects/visualc7 (Simon-pierre).
1590 Initialized some structure members in pngwutil.c to avoid gcc-4.0.0 complaints
1593 Updated references to png-mng-implement mailing list.
1595 Added PNG_NO_READ_SUPPORTED conditional for making a write-only library.
1597 Optimized alpha-inversion loops in pngwtran.c
1640 libpng-1.2.9beta1.
1645 Removed trailing blanks from source files.
1646 Put version and date of latest change in each source file, and changed
1664 Bug introduced in libpng-1.2.8.
1679 Made pnggccrd.c PIC-compliant (Christian Aichinger).
1684 Fixed out-of-order declaration in pngwrite.c that was introduced in beta9
1696 -DPNG_BUILDING_LIBPNG to compile directive, and modified pngconf.h
1714 Moved -DPNG_CONFIGURE_LIBPNG into @LIBPNG_DEFINES@
1725 Added a backslash between -DPNG_CONFIGURE_LIBPNG and -DPNG_NO_ASSEMBLER_CODE
1731 writing an embedded PNG without the 8-byte signature.
1740 The shared-library makefiles were linking to libpng.so.0 instead of
1746 Fixed bug in example.c (png_set_palette_rgb -> png_set_palette_to_rgb)
1757 Allow zero-length IDAT chunks after the entire zlib datastream, but not
1766 Fixed typo in several makefiles (-W1 should be -Wl)
1767 Added typedef for png_int_32 and png_uint_32 on 64-bit systems.
1770 Removed the new typedefs for 64-bit systems (delay until version 1.4.0)
1775 Really removed the new typedefs for 64-bit systems.
1789 Work around Intel-Mac compiler bug by setting PNG_NO_MMX_CODE in pngconf.h
1791 Detect and fix attempt to write wrong iCCP profile length (CVE-2006-7244)
1800 Built Makefile.in with automake-1.9.6 instead of 1.9.2.
1801 Build configure with autoconf-2.60 instead of 2.59
1813 Generated configure with autoconf-2.61 instead of 2.60
1814 Revised configure.ac to update libpng.pc and libpng-config.
1844 Fixed handling of rgb_to_gray when png_ptr->color.gray isn't set.
1882 Added png_ptr->unknown_chunk to hold working unknown chunk data, so it
1887 Revised symbol-handling in configure script.
1894 Added "png_ptr->num_trans=0" before error return in png_handle_tRNS,
1895 to eliminate a vulnerability (CVE-2007-2445, CERT VU#684664)
1899 Reverted the libpng-1.2.17rc3 change to symbol-handling in configure script
1903 change of libpng-1.2.17beta2. Changed other "const" to "PNG_CONST"
1938 Updated makefile.sgcc and makefile.solaris; added makefile.solaris-x86.
1944 Enabled iTXt support (changes png_struct, thus requires so-number change).
1952 Reduced dependency on C-runtime library when on Windows (Simon-Pierre)
1953 Replaced sprintf() with png_sprintf() (Simon-Pierre)
1957 Moved some leftover MMX-related defines from pngconf.h to pngintrn.h
1986 sCAL = 0.352778e-3 x 0.352778e-3 meters, in pngtest.png (Cosmin).
1988 Added typedef for png_int_32 and png_uint_32 on 64-bit systems.
2032 Changed the type of png_ptr->rowbytes, PNG_ROWBYTES() and friends
2040 Fixed a typo (png_byte --> png_bytep) in libpng.3 and libpng.txt (Cosmin).
2057 Work around Intel-Mac compiler bug by setting PNG_NO_MMX_CODE in pngconf.h
2069 Built Makefile.in with automake-1.9.6 instead of 1.9.2.
2070 Build configure with autoconf-2.60 instead of 2.59
2094 Deleted all use of the MMX assembler code and Intel-licensed optimizations.
2103 Change "purpose" and "buffer" to png_ptr->chunkdata to avoid memory leaking.
2106 Change "chunkdata = NULL" to "png_ptr->chunkdata = NULL" several places in
2110 Change all remaining "chunkdata" to "png_ptr->chunkdata" in
2124 Synced contrib directory and configure files with libpng-1.2.30beta06.
2125 Eliminated no-longer-used pngdefs.h (but it's still built in the makefiles)
2131 Changed "-Wall" to "-W -Wall" in the CFLAGS in all makefiles (Cosmin Truta)
2147 Revised usage of PNG_STRING_NEWLINE to work on non-ISO compilers.
2149 Added non-ISO versions of png_debug macros.
2157 in libpng-1.4.0beta20.
2169 Fixed off-by-one error introduced in png_push_read_zTXt() function in
2170 libpng-1.2.30beta04/pngpread.c (Harald van Dijk)
2174 Changed so-number from 0 to 14. Some OS do not like 0.
2180 Sync with tEXt vulnerability fix in libpng-1.2.33rc02.
2187 Added check for zero-area RGB cHRM triangle in png_check_cHRM() and
2197 check for all-zero coordinates that is detected by the triangle check.
2200 Fixed string vs pointer-to-string error in png_check_keyword().
2211 (Merge with version 1.2.34beta05 -- Arvan Pritchard).
2231 Removed prototype for png_freeptr() that was added in libpng-1.4.0beta24
2237 Fixed bug introduced in libpng-1.4.0beta48 with the memset arguments
2240 (bug introduced in libpng-1.2.34/1.4.0beta29).
2259 This avoids building 16-bit gamma tables unnecessarily.
2283 "shadowed declaration" warning from gcc-4.3.3.
2288 Removed prototype for png_freeptr() that was added in libpng-1.4.0beta24
2290 Rebuilt configure scripts with autoconf-2.63 instead of 2.62
2299 Reformated sources in libpng style (3-space intentation, comment format)
2347 Added high-level API transform PNG_TRANSFORM_GRAY_TO_RGB.
2354 Simplified the new filter-selection test. This runs faster in the
2357 (bug introduced in libpng-1.4.0beta67).
2363 (bug introduced in libpng-0.95, discovered by Evan Rouault)
2366 Rebuilt configure scripts with autoconf-2.64.
2374 (JD Chen) (CVE-2009-5063).
2387 Removed lpXYZ.tar.bz2 (with CRLF), KNOWNBUG, libpng-x.y.z-KNOWNBUG.txt,
2414 Eliminated unused png_ptr->row_buf_size
2426 Revised png_check_IHDR() to add a test for width variable less than 32-bit.
2450 Merged libpng-1.2.41.txt with libpng-1.4.0.txt where appropriate.
2474 Updated scripts/makefile* to add "-DPNG_CONFIGURE_LIBPNG" to CFLAGS,
2494 Updated CMakeLists.txt to add "-DPNG_CONFIGURE_LIBPNG" to the definitions.
2500 Added -DPNG_CONFIGURE_LIBPNG to contrib/pngminm/*/makefile
2513 (evidently the same change made in libpng-1.0beta54 was lost).
2517 Restored pngtest.png to the libpng-1.4.0beta7 version.
2526 Moved libpng-config.in and libpng.pc-configure.in out of the scripts
2527 directory, to libpng-config.in and libpng-pc.in, respectively, and
2535 Revised CMakeLists.txt to account for new location of libpng-config.in
2536 and libpng-pc.in
2545 Added libpng-config.in and libpng-pc.in to the zip and 7z distributions.
2553 Align row_buf on 16-byte boundary in memory.
2565 Rebuilt configure scripts with autoconf-2.65
2579 Added "#define PNG_NO_PEDANTIC_WARNINGS" in the libpng source files.
2580 Removed "-DPNG_CONFIGURE_LIBPNG" from the makefiles and projects.
2588 Removed leftover "-DPNG_CONFIGURE_LIBPNG" from contrib/pngminim/*/makefile
2591 in some 16-bit datastreams (Yusaku Sugai).
2596 PNG_16_TO_8 transform has been set, to avoid unnecessary build of 16-bit
2603 Renamed libpng-pc.in back to libpng.pc.in and revised CMakeLists.txt
2611 Changed "libpng-pc.in" to "libpng.pc.in" in configure.ac, configure, and
2612 Makefile.in to be consistent with changes in libpng-1.4.0rc03
2615 Reverted the gamma_table changes from libpng-1.4.0beta109.
2619 Revised libpng*.txt and libpng.3 about 1.2.x->1.4.x differences.
2624 Avoid deprecated references to png_ptr-io_ptr and png_ptr->error_ptr
2632 unclosed if-statement warning (Philip Lowman).
2660 Revised png_decompress_chunk() to use a two-pass method suggested by
2664 Folded some long lines in the source files.
2667 Eliminated use of png_ptr->irowbytes and reused the slot in png_ptr as
2668 png_ptr->png_user_chunk_malloc_max.
2707 Removed obsolete unused MMX-querying support from contrib/gregbook
2710 Added -D_ALLSOURCE in configure.ac, makefile.aix, and CMakeLists.txt
2714 Removed -D_ALLSOURCE from configure.ac, makefile.aix, and CMakeLists.txt.
2715 Changed the name of png_ptr->jmpbuf to png_ptr->png_jmpbuf in pngstruct.h
2723 Removed checking for already-included setjmp.h from pngconf.h
2729 the source files, along with "#define PNG_EXPOSE_INTERNAL_STRUCTURES"
2747 Removed direct access to png_ptr->io_ptr from the Windows code in pngtest.c
2757 and appropriate changes made to all files. Cygwin builds re-hinged to
2769 Removed the include of sys/types.h - apparently unnecessary now on the
2787 the one actually required - read or write.)
2793 Documented the fact that png_set_dither() was disabled since libpng-1.4.0.
2799 Freeze build-time only configuration in the build.
2806 each time - pngconf.h holds these. Options that can be changed
2807 per-file in the application are in png.h. Frozen options are
2810 with libpng-1.5.0.
2826 is to use the macros - this allows applications to choose at app build
2831 __stdcall is no longer needed for Visual Basic, so libpng-1.5.0 uses
2835 Relaxed the overly-restrictive permissions of some files.
2838 Relaxed more overly-restrictive permissions of some files.
2848 Fixed dependencies of GET_INT_32 - it does not require READ_INT_FUNCTIONS
2873 offset of the png_ptr->rowbuf pointer into png_ptr->big_row_buf.
2878 Removed the now-redundant check for out-of-bounds new_row from example.c
2920 Structure Exceptions or C++ exceptions (compiler willing - note that gcc
2923 appropriate. If mainprog->jmpbuf is used by setjmp, then png_longjmp
2932 Removed some newly-added TAB characters.
2933 Added -DNO_PNG_SNPRINTF to CFLAGS in scripts/makefile.dj2
2948 Errors in the 16-bit gamma correction (overflows) have been corrected.
2963 Replaced oFFs 0,0 with oFFs -10,20 in pngtest.png
2977 those already present in GCC - necessary because without these some
2979 pngvalid and checks with gcc -Wall -Wextra -Wunused.
2991 Don't try to use version-script with cygwin/mingw.
3000 Removed spurious tabs, shorten long lines (no source change)
3008 Fixed non-GCC fixed point builds. In png.c a declaration was misplaced
3022 Simplified the pngvalid error-handling code now that cexcept.h is in place.
3044 Fixed a number of problems with 64-bit compilation reported by Visual
3053 bug was introduced in libpng-1.2.9beta5.
3063 Check for out-of-range text compression mode in png_set_text().
3073 Updated INSTALL to mention using "make maintainer-clean" and to remove
3075 Disabled "color-tests" by default in Makefile.am so it will work with
3077 Use document name "libpng-manual.txt" instead of "libpng-<version>.txt"
3095 With these changes only -Wconversion and -Wcast-qual cannot be turned on.
3096 Changes are trivial rearrangements of code. -Wconversion is not possible
3098 smaller than (int) or (unsigned int)) and -Wcast-qual is not possible
3108 Included documentation of changes in 1.5.0 from 1.4.x in libpng-manual.txt
3120 Instead put them in pngtest-log.txt
3121 Added "--with-zprefix=<string>" to configure.ac
3126 Fixed the clean rule in Makefile.am to remove pngtest-log.txt
3140 looking for the flag in png_ptr->transformations instead of in
3141 png_ptr->flags) (David Raymond).
3147 Changed the new configure option "zprefix=string" to "zlib-prefix=string"
3163 palette mapped images correctly. This fixes CVE-2690.
3189 or an over-large compressed zTXt chunk with the progressive reader.
3221 standing error and resulted, apparently, in invalid output
3222 (CVE-2011-0408, CERT VU#643140). The documentation did not accurately
3227 introduced in libpng-1.0.0.
3231 symbol file preprocessing now uses -DPNG_NO_USE_READ_MACROS even when
3240 The type was self-evidently incorrect but only causes problems on 64-bit
3256 More -Wshadow fixes for older gcc compilers. Older gcc versions apparently
3287 Added a hint to try CPP=/bin/cpp if "cpp -E" fails in scripts/pnglibconf.mak
3290 Fixed a bug (present since libpng-1.0.7) that makes png_handle_sPLT() fail
3301 Re-initialize the zlib compressor before compressing non-IDAT chunks.
3303 set parameters for zlib compression of non-IDAT chunks.
3307 Only compile the new zlib re-initializing code when text or iCCP is
3309 Improved the optimization of the zlib CMF byte (see libpng-1.2.6beta03).
3310 Optimize the zlib CMF byte in non-IDAT compressed chunks
3313 Fixed gcc -ansi -pedantic compile. A strict ANSI system does not have
3321 Removed the no-longer-used PNG_DEPSTRUCT macro.
3323 Fixed 64-bit builds where png_uint_32 is smaller than png_size_t in
3326 was introduced in libpng-1.5.2beta01 (bug report by Andrew Church).
3339 code to use 16-bit intermediate values while still producing 8-bit output.
3345 been fixed - this failed to initialize the red channel and accidentally
3353 pngvalid.c to ensure that POSIX conformant systems disable non-POSIX APIs.
3357 dependency of the tIME-supporting RFC1132 code on stdio is removed and
3360 was introduced in libpng-1.2.20beta01. This fixes CVE-2011-2691.
3364 introduced in libpng-1.5.3beta01-02). This was because the attempt to
3366 chunk had been deflated - much too late. In this change internal
3368 the code more robust. Also deflateEnd checking is added - previously
3372 Removed the -D_ALL_SOURCE from definitions for AIX in CMakeLists.txt
3379 for Macs - it's not a good idea to embed this in the ABI!
3383 Check for up->location !PNG_AFTER_IDAT when writing unknown chunks
3387 Improved "pngvalid --speed" to exclude more of pngvalid from the time.
3388 Documented png_set_alpha_mode(), other changes in libpng.3/libpng-manual.txt
3391 sRGB/Rec 709 values are still used. This introduced a divide-by-zero
3406 back where it was. The change doesn't work because it requires 16-bit
3407 gamma tables when the code only generates 8-bit ones. This fails
3409 the tests back leaves the old, inaccurate, 8-bit gamma calculations, but
3417 treats it as an 8-bit color because of where png_do_expand_16 is in the
3418 transform list. This simple fix reduces the supplied colour to 8-bits,
3429 Frank Busse, CVE-2011-2501, related to CVE-2004-0421).
3432 Fixed png_handle_sCAL which is broken in 1.5. This fixes CVE 2011-2692.
3439 Make the 16-to-8 scaling accurate. Dividing by 256 with no rounding is
3461 to be confusing; therefore we bump the version to libpng-1.5.4beta01
3462 and there will be no libpng-1.5.3 release.
3466 to get the same (inaccurate) output as libpng-1.5.2 and earlier.
3468 outside of an unknown-chunk block in png.h because they are also
3472 Fixed and clarified LEGACY 16-to-8 scaling code.
3493 Added PNG_TRANSFORM_CHOP_16 to the high-level read transforms.
3508 The ACCURATE scale macro is no longer defined in 1.5 - call the
3536 Minor editing of libpng.3 and libpng-manual.txt.
3544 Prevent unexpected API exports from non-libpng DLLs on Windows. The "_DLL"
3569 based on cHRM, and the divide-by-zero bug in png_handle_cHRM (CERT
3570 VU#477046, CVE-2011-3328, introduced in 1.5.4) have been corrected.
3575 the 8-bit non-gamma-corrected case (where consistency seems more important
3577 8-bit case because 8-bit linear arithmetic is used.
3586 Fixed 64-bit compilation errors (gcc). The errors fixed relate
3587 to conditions where types that are 32 bits in the GCC 32-bit
3588 world (uLong and png_size_t) become 64 bits in the 64-bit
3592 Constant changes for 64-bit compatibility (removal of L suffixes). The
3593 16-bit cases still use "L" as we don't have a 16-bit test system.
3602 Fixed some 64-bit type conversion warnings in pngrtran.c
3621 Revised test-pngtest.sh to report FAIL when pngtest fails.
3622 Added "--strict" option to pngtest, to report FAIL when the failure is
3625 CMakeLists.txt that is no longer useful in libpng-1.5.
3628 Fixed typo in Makefile.in and Makefile.am ("-M Wl" should be "-M -Wl")."
3635 Align png_struct::row_buf - previously it was always unaligned, caused by
3640 percentage for 16-bit and 32-bit pixels in the typical case where the
3656 it is not byte aligned, while reading. Prior to libpng-1.5.6 libpng would
3661 Made png_ptr->prev_row an aligned pointer into png_ptr->big_prev_row
3668 Added LSR() macro to defend against buggy compilers that evaluate non-taken
3669 code branches and complain about out-of-range shifts.
3675 enables that fix for all compilers when using compile-time constants.
3684 Added support for ARM processor, when decoding all PNG up-filtered rows
3685 and any other-filtered rows with 3 or 4 bytes per pixel (Mans Rullgard).
3690 to png_size_t which would fail on large allocations on 16-bit systems.
3693 token from @-@-@ to PNG_JOIN; that should work with all compiler
3704 be non-NULL. The cast of the profile length potentially truncated the
3705 value unnecessarily on a 16-bit int system, so the cast of the (byte)
3706 compression type to (int) is specified by ANSI-C anyway.
3719 modified tables reduce the number of 16-bit values that
3720 convert to an off-by-one 8-bit value. The "makesRGB.c" code that was used
3721 to generate the tables is now in a contrib/sRGBtables sub-directory.
3725 Added run-time detection of NEON support.
3728 Multiple transform bug fixes plus a work-round for double gamma correction.
3730 at once - if this is tried typically the results is double gamma
3733 libpng transform code. This check-in also contains fixes to various bugs
3736 Fixes for C++ compilation using g++ When libpng source is compiled
3737 using g++. The compiler imposes C++ rules on the C source; thus it
3738 is desireable to make the source work with either C or C++ rules
3742 Added --noexecstack to assembler file compilation. GCC does not set
3745 work-around is to set it by default in the flags for $(CCAS)
3748 not initialized); this turns on const-ness only for compilers where
3752 Since the gcc driver does not recognize the --noexecstack flag, we must
3753 use the -Wa prefix to have it passed through to the assembler.
3755 Added files that were omitted from the libpng-1.5.7beta03 zip distribution.
3760 (Frank Busse). Note: This prevented CVE-2015-7981 from affecting
3761 libpng-1.5.7 and later.
3763 Reject invalid compression flag or method when reading the iTXt chunk.
3770 Rebuilt Makefile.in, configure, etc., with autoconf-2.68
3780 as in libpng-1.5.4.
3792 Removed machine-generated configure files from the GIT repository (they will
3795 Restored the new 'simplified' API, which was started in libpng-1.5.7beta02
3796 but later deleted from libpng-1.5.7beta05.
3798 Added ANSI-C (C90) headers and require them, and take advantage of the
3801 With this change the required ANSI-C header files are assumed to exist: the
3804 (the other two required headers aren't used). Non-ANSI systems that don't
3807 Dropped support for 16-bit platforms. The use of FAR/far has been eliminated
3810 not currently work on such systems -- it seems likely that it will
3820 non-suffix rules use unique file names.
3823 Correct configure builds where build and source directories are separate.
3828 Start-up code size improvements, error handler flexibility. These changes
3840 so is particularly valuable. Overall on a 64-bit system the libpng DLL
3847 Regenerated configure scripts with automake-1.11.2
3864 (all those cases where the thing being copied is a non-array C L-value).
3866 Removed the reference to the non-exported function png_memcpy() from
3868 Fixed the Visual C 64-bit build - it requires jmp_buf to be aligned, but
3876 (CVE-2011-3464, bug introduced in libpng-1.5.3beta05).
3883 Added color-map support to simplified API. This is an initial version for
3892 Updated configure.ac from autoupdate: added --enable-werror option.
3894 (replaced with 3-character indentation). Obsolete macros identified by
3896 the pre-req hasn't been changed. --enable-werror checks for support
3897 for -Werror (or the given argument) in the compiler. This mimics the
3898 gcc configure option by allowing -Werror to be turned on safely; without
3901 Rewrote autogen.sh to run autoreconf instead of running tools one-by-one.
3909 Added two images to contrib/pngsuite (1-bit and 2-bit transparent grayscale),
3916 Divide test-pngstest.sh into separate pngstest runs for basic and
3919 Added color-tests, silent-rules (Not yet implemented in Makefile.am) and
3922 the background parameter of png_image_finish_read. The --background
3937 Reverted the prebuilt configure files to libpng-1.6.0beta05 condition.
3940 Added Z_SOLO for zlib-1.2.6+ and correct pngstest tests
3947 Revised test-pngstest.sh to report PASS/FAIL for each image.
3950 extremely inaccurate for sRGB conversions because it uses an 8-bit
3955 permitted 8-bit error. This may still not be enough because of arithmetic
3959 non-linear gamma Also bugs in the error checking in pngread.c and changed
3961 written or not over-optimistic. The pngstest changes are insufficient to
3965 Removed tests for no-longer-used *_EMPTY_PLTE_SUPPORTED from pngstruct.h
3968 characters. This is not valid ANSI-C outside a function. The ';'
3973 produces warnings from gcc with some warning options (including -Wall). The
3976 Check for invalid palette index while reading paletted PNG. When one is
3977 found, issue a warning and increase png_ptr->num_palette accordingly.
3982 Relocated check for invalid palette index to pngrtran.c, after unpacking
3983 the sub-8-bit pixels.
3984 Fixed CVE-2011-3026 buffer overrun bug. This bug was introduced when
3985 iCCP chunk support was added at libpng-1.0.6. Deal more correctly with the
3987 problems on 16-bit systems.
3992 now that png_ptr->buffer is inaccessible to applications, the special
3996 defined. To enable, use "CPPFLAGS=-DPNG_SAFE_LIMITS_SUPPORTED=1" on the
4006 of png_ptr->current_text from pngread.c
4008 Fixed transparent pixel and 16-bit rgb tests in pngstest and removed a
4011 intermediate files, or intermediate in-memory data, while processing
4014 can be disabled with the --slow option.
4019 still work-in-progress.
4020 Added check for invalid palette index while reading.
4022 all potentially valid ICC profiles and reject obviously invalid ones.
4025 Removed whitespace from the end of lines in all source files and scripts.
4028 Relocated palette-index checking function from pngrutil.c to pngtrans.c
4029 Added palette-index checking while writing.
4031 This is an intermediate check-in that solves the immediate problems and
4032 introduces one performance improvement (avoiding a copy via png_ptr->zbuf.)
4036 variable. GCC 64-bit warns about assigning a (size_t) (unsigned 64-bit)
4037 to an (int) (signed 32-bit). MSVC, however, warns about using the
4038 unary '-' operator on an unsigned value (even though it is well defined
4039 by ANSI-C to be ~x+1). The padding calculation was changed to use a
4040 different method. Removed the tests on png_ptr->pass.
4045 code now claims and releases png_ptr->zstream, like the write code.
4053 (in fact this is harmless, but the PNG data produced may be sub-optimal).
4057 Reject all iCCP chunks after the first, even if the first one is invalid.
4066 chunks could end up with a too-small windowBits value in the deflate
4071 In pngtest, treat benign errors as errors if "-strict" is present.
4072 Fixed an off-by-one error in the palette index checking function.
4073 Fixed a compiler warning under Cygwin (Windows-7, 32-bit system)
4076 This avoids compiler warnings when -Wwrite-strings is enabled.
4092 fails to call one of the 'start' routines (not enabled in libpng-1.5
4097 causing this to happen; this is probably a mis-feature in the zlib
4098 changes so this commit is only a work-round.
4105 benign errors; also added --strict to pngstest - not enabled
4108 This allows the --strict option to pass in the pngstest checks
4112 Added checksum-icc.c to contrib/tools
4118 CVE-2011-3048, also known as CVE-2012-3425).
4128 Added -lssp_nonshared in a comment in scripts/makefile.freebsd
4132 Removed need for -Wno-cast-align with clang. clang correctly warns on
4133 alignment increasing pointer casts when -Wcast-align is passed. This
4166 Changed "a+w" to "u+w" in Makefile.in to fix CVE-2012-3386.
4179 Re-eliminated the use of strcpy() in pngtest.c. An unncessary use of
4180 strcpy() was accidentally re-introduced in libpng16; this change replaces
4193 Removed info_ptr->signature[8] from WRITE-only builds.
4195 but it requires "-lm" on some platforms.
4196 Cause pngtest --strict to fail on any warning from libpng (not just errors)
4201 Now "make check" will succeed even if libpng is compiled with -DPNG_NO_READ
4202 or -DPNG_NO_WRITE. The tests performed are reduced, but the basic reading
4213 control of the unknown handling, corrects the pre-existing bug where
4214 the per-chunk 'keep' setting is ignored and makes it possible to skip
4216 There is a new test program, test-unknown.c, which is a work in progress
4228 unsafe-to-copy chunks which were dropped before) and eliminates the
4258 Made makepng and pngtest produce identical PNGs, add "--relaxed" option
4259 to pngtest. The "--relaxed" option turns off the benign errors that are
4260 enabled by default in pre-RC builds. makepng can now write ICC profiles
4262 now intercepts all libpng errors, allowing the previously-introduced
4263 "--strict test" on no warnings to actually work.
4267 handled with a warning in such a way that the invalid profiles will be
4268 read by default in release (but not pre-RC) builds but will not be
4276 By the ANSI-C standard the new types should be identical to the previous
4278 except for GCC-4.2.1 work with this version. The change makes the ANSI-C
4287 Added -DZ_SOLO to contrib/pngminim/*/makefile to work with zlib-1.2.7
4290 pngvalid if the 'touch' file name is invalid.
4296 Undid the erroneous change to vstudio/pngvalid build in libpng-1.6.0beta30.
4297 Made pngvalid so that it will build outside the libpng source tree.
4298 Made builds -DPNG_NO_READ_GAMMA compile (the unit tests still fail).
4304 of -DPNG_NO_READ_GAMMA is changed to simply disable any interface that
4310 Removed non-working ICC profile support code that was mostly added to
4311 libpng-1.6.0beta29 and beta30. There was too much code for too little
4326 fall-through condition.
4328 Rearranged the ARM-NEON optimizations: Isolated the machine specific code
4332 Rebuilt Makefile.in, etc., with autoconf-2.69 and automake-1.12.5.
4349 Discontinued distributing libpng-1.x.x.tar.bz2.
4350 Discontinued distributing libpng-1.7.0-1.6.0-diff.txt and similar.
4351 Rebuilt configure with autoconf-2.69 (inadvertently not done in beta33)
4352 Fixed 'make distcheck' on SUN OS - libpng.so was not being removed
4360 (CVE-2013-7353). Added overflow detection in png_set_sPLT() and
4361 png_set_text_2() (CVE-2013-7354).
4382 Fixed missing dependency in --prefix builds The intermediate
4402 be used in non-C/C++ files. Back ported from libpng 1.7.
4405 Removed cc -E workround, corrected png_get_palette_max API Tested on
4410 Enabled parallel tests - back ported from libpng-1.7.
4426 --enable-arm-neon=always will stop the run-time checks. New checks
4446 providing an alternative and general solution for the non-portable
4447 run-time tests used by the ARM Neon code, using the PNG_ARM_NEON option.
4453 Corrected simplified API default gamma for color-mapped output, added
4455 to produce color-mapped output from an input image with no gamma
4457 that assumed for non-color-mapped output. In particular 16-bit depth
4462 application/user to specify that 16-bit files contain sRGB data
4492 Fixed incorrect warning of excess deflate data. End condition - the
4502 Bug was introduced in libpng-1.6.0.
4506 written by libpng-1.6.0 and 1.6.1.
4510 Merge pngtest.c with libpng-1.7.0
4519 have been ported to libpng-1.7.0beta09 and will reappear in version
4547 Added png-fix-itxt and png-fix-too-far-back to the built programs and
4548 removed warnings from the source code and timepng that are revealed as
4550 Detect wrong libpng versions linked to png-fix-too-far-back, which currently
4552 the deflate data contains an out-of-window reference. This means only
4562 invalid values.
4563 Attempt to detect configuration issues with png-fix-too-far-back, which
4574 Improved png-fix-too-far-back usage message, added --suffix option.
4610 libpng-1.5.4.
4611 Renamed contrib/tools/png-fix-too-far-back.c to pngfix.c and revised it
4620 implemented and is the default if --max is given. Option names have
4621 been clarified, with --strip=transform now stripping the bKGD chunk,
4622 which was stripped previously with --strip=unused.
4624 Unified pngfix.c source with libpng17.
4630 Revised manual about changes in iTXt chunk handling made in libpng-1.6.0.
4632 may be erroneously issued by code-checking applications.
4663 Avoid up-cast warnings in pngvalid.c. On ARM the alignment requirements of
4680 2) Added 'subdir-objects' which causes .c files in sub-directories to be
4682 sub-directory. This is because automake 1.14 warns that the
4698 condition ? string-literal : string-literal).
4704 arm/filter_neon_intrinsics.c; enable with -mfpu=neon.
4712 causes all clang builds that use -mfpu=neon to use the intrinsics code,
4733 Added "-Wall" to CFLAGS in contrib/pngminim/*/makefile
4734 Conditionally compile some unused functions reported by -Wall in
4748 by clang scan-build.
4754 Tidied up pngfix inits and fixed pngtest no-write builds.
4757 Handle zero-length PLTE chunk or NULL palette with png_error()
4760 (png_ptr->palette) in png_do_expand_palette(). This is CVE-2013-6954
4761 and VU#650142. Libpng-1.6.1 through 1.6.7 are vulnerable.
4762 Libpng-1.6.0 and earlier do not have this bug.
4776 x86-64 DLL build (Gentoo Linux) this reduces the size of the text
4780 Rebuilt configure scripts with automake-1.14.1 and autoconf-2.69
4786 Merged with pngvalid.c from libpng-1.7 changes to create a single
4789 Merged pngrio.c, pngtrans.c, pngwio.c, and pngerror.c with libpng-1.7.0
4790 Merged libpng-1.7.0 changes to make no-interlace configurations work
4817 Backported changes from libpng-1.7.0beta30 and beta31:
4829 Do not read invalid sBIT chunks. Previously libpng only checked sBIT
4831 the read code to return an invalid sBIT chunk, which might lead to
4848 to libpng-calling applications.
4851 build-time and provide sample implementations from the current code in the
4852 contrib/arm-neon subdirectory. The __linux__ code has also been changed to
4854 is in contrib/arm-neon/linux-auxv.c. The new code avoids POSIX and Linux
4863 png_set_benign_errors(), which has been the case since libpng-1.6.0beta18.
4866 Added png_ptr->process_mode = PNG_READ_IDAT_MODE in png_push_read_chunk
4868 reading a datastream whose first IDAT chunk is of zero-length.
4869 This fixes CERT VU#684412 and CVE-2014-0333.
4874 Moved some documentation from png.h to libpng.3 and libpng-manual.txt
4875 Minor editing of contrib/arm-neon/README and contrib/examples/*.c
4878 Fixed typos in the manual and in scripts/pnglibconf.dfa (CFLAGS -> CPPFLAGS
4879 and PNG_USR_CONFIG -> PNG_USER_CONFIG).
4886 Un-deprecated png_data_freer().
4898 they were handled improperly by Portland Group's PGI-14.1 - PGI-14.3
4903 Don't warn about invalid dimensions exceeding user limits (Cosmin).
4904 Allow an easy replacement of the default pre-built configuration
4909 Fixed a typo in pngrutil.c, introduced in libpng-1.5.6, that interferes
4910 with "blocky" expansion of sub-8-bit interlaced PNG files (Eric Huss).
4920 Allow PNG_sRGB_PROFILE_CHECKING = (-1) to mean no sRGB profile checking.
4923 Do not reject ICC V2 profiles that lack padding (Kai-Uwe Behrmann).
4946 test-driver, and compile from 0644 to 0755 (Cosmin).
4956 Quieted -Wsign-compare and -Wclobber compiler warnings in
4960 Split a long output string in contrib/gregbook/rpng2-x.c.
4962 Needed for write-only support (John Bowler).
4965 Fixed clang no-warning builds: png_digit was defined but never used.
4969 (bug report from Wolfgang S. Kechel). Bug was introduced in libpng-1.6.11.
4974 Removed scripts/makefile.elf. It has not worked since libpng-1.5.0beta14
4994 Guard usage of png_ptr->options with #ifdef PNG_SET_OPTION_SUPPORTED.
5001 Use nanosleep() instead of usleep() in contrib/gregbook/rpng2-x.c
5003 Define usleep() in contrib/gregbook/rpng2-x.c if not already defined
5005 in libpng-1.6.13.
5017 (bug report by Shunsaku Hirata). Bug was introduced in libpng-1.6.0.
5041 in the manual, to reflect the change made in libpng-1.6.0.
5043 and info_struct members has not been permitted since libpng-1.5.0.
5060 Removed new PNG_USE_ARM_NEON configuration flag and made a one-line
5066 Fixed an out-of-range read in png_user_version_check() (Bug report from
5067 Qixue Xiao, CVE-2015-8540).
5068 Simplified and future-proofed png_user_version_check().
5069 Fixed GCC unsigned int->float warnings. Various versions of GCC
5080 of GCC on 64-bit systems warn about the apparent narrowing, even though
5081 the same compiler does apparently generate the correct, in-range,
5104 similarly-named macros were already defined in makefiles. This behavior
5109 Added "-D_CRT_SECURE_NO_WARNINGS" to CFLAGS in scripts/makefile.vcwin32.
5129 Restored a test on width that was removed from png.c at libpng-1.6.9
5130 (Bug report by Alex Eubanks, CVE-2015-0973).
5137 (Bug report and fix by John Bowler, CVE-2014-9495).
5146 png_read_row to skip the unnecessary row de-interlace stuff.
5148 Regenerated configure scripts in the *.tar distributions with libtool-2.4.4
5150 Fixed byte order in png_do_read_filler() with 16-bit input. Previously
5153 Made the check for out-of-range values in png_set_tRNS() detect
5154 values that are exactly 2^bit_depth, and work on 16-bit platforms.
5155 Merged some parts of libpng-1.6.17beta01 and libpng-1.7.0beta47.
5162 Work around one more Coverity-scan dead-code warning.
5167 Eliminated the PNG_SAFE_LIMITS macro and restored the 1-million-column
5168 and 1-million-row default limits in pnglibconf.dfa, that can be reset
5170 defense against DOS and as-yet undiscovered overflows.
5175 Rebuilt configure scripts with automake-1.15 and libtool-2.4.6
5202 in libpng-1.6.17beta01 (John Bowler).
5207 libpng-1.6.17beta06.
5214 Fixed simplified 8-bit-linear to sRGB alpha. The calculated alpha
5216 value; in the obvious code path the upper and lower 8-bits of the
5217 alpha value were identical and the alpha was truncated to 8-bits
5229 some 32-bit platforms (Bug reports by Peter Breitenlohner [i686]
5253 Backport filter selection code from libpng-1.7.0beta51, to combine
5258 pngwutil.c, introduced in libpng-0.95, March 1997.
5268 Removed non-working progressive reader 'skip' function. This
5270 to support back-door modification of png_struct in libpng-1.4.x
5276 Fixed NO_WRITE_FILTER and -Wconversion build breaks (John Bowler).
5278 Quieted some Coverity issues in pngfix.c, png-fix-itxt.c, pngvalid.c,
5279 pngstest.c, and pngimage.c. Most seem harmless, but png-fix-itxt
5288 unsigned char in contrib/tools/png-fix-itxt.c). To use the "secure"
5294 Removed some useless typecasts from contrib/tools/png-fix-itxt.c
5295 Fixed a new signed-unsigned comparison in pngrtran.c (Max Stepin).
5305 Restored unused FILTER_HEURISTIC macros removed at libpng-1.6.18beta08
5326 Fixed uninitialized variable in contrib/gregbook/rpng2-x.c
5335 Changed "n bit" to "n-bit" in comments.
5336 Added signed/unsigned 16-bit safety net. This removes the dubious
5337 0x8000 flag definitions on 16-bit systems. They aren't supported
5340 on a 16-bit system. It also adds back various switch default clauses
5349 in ANSI-C (unlike 0x80000000 in the signed case) the checking that
5360 tests contain the --strict option to detect warnings and the
5361 pngvalid-standard test has been corrected so that it does not
5362 turn on progressive-read. There is a separate test which does
5371 Incorporated new test PNG files into make check. tests/pngstest-*
5374 and pixel-value coverage than contrib/pngsuite; however,coverage is
5376 Removed the '--strict' in 1.6 because of the double-gamma-correction
5377 warning, updated pngstest-errors.h for the errors detected with the
5381 Worked around rgb-to-gray issues in libpng 1.6. The previous
5383 deal with the 'channel selection' encoding added to libpng 1.7; abort.
5384 pngvalid.c is changed to drop this encoding in prior versions.
5388 a minimal safe fix, the issue only arises in non-performance-critical
5396 Prevent setting or writing over-length PLTE chunk (Cosmin Truta).
5397 Silently truncate over-length PLTE chunk while reading.
5405 Fixed some inconsequential cut-and-paste typos in png_set_cHRM_XYZ_fixed().
5412 Fixed new bug with CRC error after reading an over-length palette
5413 (bug report by Cosmin Truta) (CVE-2015-8126).
5424 not info_ptr, that left png_set_PLTE() open to the CVE-2015-8126
5425 vulnerability. Fixes CVE-2015-8472.
5428 Backported tests from libpng-1.7.0beta69.
5441 in the zlib stream, not a fixed value. This causes some invalid images,
5466 checks) and changed the check to only operate in non-release builds
5486 Worked around a false-positive Coverity issue in pngvalid.c.
5499 a quiet API change that limits in-memory image size (uncompressed) to
5501 Revised workaround for false-positive Coverity issue in pngvalid.c.
5512 by png_set_alpha_mode are useful for HDR data encoding. These values
5518 Added a common-law trademark notice and export control information
5521 were accidentally removed from libpng-1.6.17.
5525 libpng-1.6.19beta02 (John Bowler).
5530 Added INTEL-SSE2 support (Mike Klein and Matt Sarett, Google, Inc.).
5532 up/fails on invalid PNG data, it just skips it (with error messages).
5543 memcpy-free implementations of load3() / store3().
5550 Moved INTEL-SSE code from pngpriv.h into contrib/intel/intel_sse.patch.
5579 (patch by Timothy Nikkel). This bug was introduced in libpng-1.6.0 and
5581 Added tests in pngvalid.c to check zero-length IDAT chunks in various
5594 memcpy() with a null source, even if count is zero (Leon Scroggins III).
5605 write filter code was moved out-of-line; if there is a single filter and
5607 completed. In versions prior to 1.6 the code was duplicated in-line
5609 in the multi-filter case where the sum is performed the 'none' filter would
5623 components. (I.e. it checked for overflow of a 32-bit number on the total
5627 MSVC does not like '-(unsigned)', so replaced it with 0U-(unsigned)
5628 MSVC does not like (uInt) = -(unsigned) (i.e. as an initializer), unless
5636 semi-documentary; the intent is to tell libpng users which warnings have
5637 been examined and judged non-fixable at present. The warning about
5652 Avoid filter-selection heuristic sum calculations in cases where only one
5720 Merged pngtest.c with libpng-1.7.0beta84/pngtest.c
5724 Quieted 117 warnings from clang-3.8 in pngtrans.c, pngread.c,
5726 Quieted 58 (out of 144) -Wconversion compiler warnings by changing
5732 Quieted the 86 remaining -Wconversion compiler warnings by
5747 Use zlib-1.2.8.1 inflateValidate() instead of inflateReset2() to
5758 Restrict the new ADLER32-skipping to IDAT chunks. It broke iCCP chunk
5761 if built with zlib-1.2.8.1.
5766 introduced in libpng-1.6.26.
5767 Removed the use of a macro containing the pre-processor 'defined'
5771 substitution of an expression itself containing a well-formed defined
5777 and patch by Patrick Keshishian, CVE-2016-10087).
5784 Changed png_ptr->options from a png_byte to png_uint_32, to accomodate
5789 Moved SSE2 optimization code into the main libpng source directory.
5790 Configure libpng with "configure --enable-intel-sse" or compile
5791 libpng with "-DPNG_INTEL_SSE" in CPPFLAGS to enable it.
5801 Moved SSE2 optimization code into the main libpng source directory.
5802 Configure libpng with "configure --enable-intel-sse" or compile
5803 libpng with "-DPNG_INTEL_SSE" in CPPFLAGS to enable it.
5816 because Solaris 11 distributes zlib-1.2.8.f that is older than 1.2.8.1,
5825 makefile.linux and makefile.solaris-x86 (Cosmin).
5827 Silence clang -Wcomma and const drop warnings (Viktor Szakats).
5834 is similar to the bug reported against pngquant in CVE-2016-5735.
5846 introduced in libpng-1.6.0.
5863 was introduced in libpng-1.6.30beta01.
5869 Added "--enable-hardware-optimizations" configuration flag to enable
5877 Added scripts/makefile-linux-opt, which has hardware optimizations enabled.
5880 Removed one of the GCC-7.1.0 'strict-overflow' warnings that result when
5882 forcing the strict-overflow setting in the relevant functions to a level
5886 Worked around some C-style casts from (void*) because g++ 5.4.0 objects
5889 overflow' check that is on by default with -Wall -Wextra.
5914 Eliminated png_ptr->num_exif member from pngstruct.h and added num_exif
5920 with libpng-1.6.31.
5928 (Bug report from the OSS-fuzz project).
5931 Replaced local eXIf_buf with info_ptr-eXIf_buf in png_handle_eXIf().
5932 Update libpng.3 and libpng-manual.txt about eXIf functions.
5942 OSS-fuzz issue (Fixes CVE-2017-12652).
5951 Require cmake-2.8.8 in CMakeLists.txt. Revised symlink creation,
5953 Fixed five-byte error in the calculation of IDAT maximum possible size.
5956 Moved chunk-length check into a png_check_chunk_length() private
5959 Moved testing of bad pngs into a separate tests/pngtest-badpngs script
5960 Added the --xfail (expected FAIL) option to pngtest.c. It writes XFAIL
5962 Require cmake-3.0.2 in CMakeLists.txt (Clifford Yapp).
5969 Make pngtest --strict, --relax, --xfail options imply -m (multiple).
5971 Relocated setting free_me for eXIf data, to stop an OSS-fuzz leak.
5972 Initialize profile_header[] in png_handle_iCCP() to fix OSS-fuzz issue.
5973 Initialize png_ptr->row_buf[0] to 255 in png_read_row() to fix OSS-fuzz UMR.
5974 Attempt to fix a UMR in png_set_text_2() to fix OSS-fuzz issue.
5982 one for each known chunk type, with length = 2GB-1.
5991 Added contrib/oss-fuzz directory which contains files used by the oss-fuzz
5992 project (https://github.com/google/oss-fuzz/tree/master/projects/libpng).
6000 Fixed off-by-one error in png_do_check_palette_indexes() (Bug report
6001 by Mick P., Source Forge Issue #269).
6004 Initialize png_handler.row_ptr in contrib/oss-fuzz/libpng_read_fuzzer.cc
6005 to fix shortlived oss-fuzz issue 3234.
6008 Use current date (DATE) instead of release-date (RDATE) in last
6009 changed date of contrib/oss-fuzz files.
6021 stop an oss-fuzz "use of uninitialized value" detection in png_set_text_2()
6024 stop an oss-fuzz "use of uninitialized value" detection in
6036 Revert contrib/oss-fuzz/libpng_read_fuzzer.cc to libpng-1.6.32 state.
6037 Initialize png_handler.row_ptr in contrib/oss-fuzz/libpng_read_fuzzer.cc
6044 Send comments/corrections/commendations to png-mng-implement at lists.sf.net
6046 https://lists.sourceforge.net/lists/listinfo/png-mng-implement
6050 Glenn R-P