Commit Graph

648 Commits

Author SHA1 Message Date
Cosmin Truta
9db73bd924 [libpng12] Added "-D_CRT_SECURE_NO_DEPRECATE -D_CRT_SECURE_NO_WARNINGS" to
CFLAGS in scripts/makefile.vcwin32
2014-11-16 19:48:07 -06:00
Glenn Randers-Pehrson
3b1ed23cbe [libpng12] Imported from libpng-1.2.52rc01.tar 2014-11-13 06:46:12 -06:00
Glenn Randers-Pehrson
afd39b47f7 [libpng12] Avoid out-of-bounds memory access while checking version string in
pngread.c and pngwrite.c
2014-11-06 08:26:18 -06:00
Glenn Randers-Pehrson
ee6be87332 [libpng12] Bump version to 1.2.52beta01 2014-02-06 10:42:16 -06:00
Glenn Randers-Pehrson
c6e3a957d9 [libpng12] Added an #ifdef PNG_FIXED_POINT_SUPPORTED/#endif in pngset.c 2014-02-05 21:59:43 -06:00
Glenn Randers-Pehrson
ee808bf878 [libpng12] Added "-D_SOLO" to contrib/pngminim makefiles (for zlib-1.2.6+) 2014-02-03 15:53:44 -06:00
Glenn Randers-Pehrson
370acba438 [libpng12] Imported from libpng-1.2.51rc03.tar 2014-02-03 09:59:08 -06:00
Glenn Randers-Pehrson
ae48296140 [libpng12] Quiet unused variable warnings from clang by porting PNG_UNUSED()
from libpng-1.4.6.
2014-02-03 09:55:17 -06:00
Glenn Randers-Pehrson
39126d5707 [libpng12] Quiet an uninitialized memory warning from VC2013 in png_get_png(). 2014-01-30 15:37:05 -06:00
Glenn Randers-Pehrson
7c8ba2c0f6 [libpng12] Imported from libpng-1.2.51rc01.tar 2014-01-28 11:34:38 -06:00
Glenn Randers-Pehrson
6c44742e74 [libpng12] Quiet set-but-not-used warnings in pngset.c 2014-01-22 17:27:26 -06:00
Glenn Randers-Pehrson
1c4cae402b [libpng12] Bump version to 1.2.51beta05 2014-01-10 12:07:33 -06:00
Glenn Randers-Pehrson
3d4a146e3e [libpng12] Removed potentially misleading warning from png_check_IHDR(). 2014-01-10 06:07:52 -06:00
Glenn Randers-Pehrson
6962a430f6 [libpng12] Bump version to 1.2.51beta04 2014-01-01 10:36:44 -06:00
Glenn Randers-Pehrson
4406679c98 [libpng12] Imported from libpng-1.2.51beta03.tar 2014-01-01 09:43:45 -06:00
Glenn Randers-Pehrson
6ab9048ea5 [libpng12] Changed '"%s"m' to '"%s" m' in png_debug macros to improve
portability among compilers.
2013-11-28 16:43:32 -06:00
Glenn Randers-Pehrson
b2459fbc18 [libpng12] Fix spelling of "doclifter" in CHANGES and ANNOUNCE 2013-06-18 15:07:09 -05:00
Glenn Randers-Pehrson
5463f76de5 [libpng12] Bump version to 1.2.51beta03 2013-06-18 13:40:22 -05:00
Glenn Randers-Pehrson
090c5f8367 [libpng12] Imported from libpng-1.2.51beta02.tar 2013-06-18 12:33:15 -05:00
Glenn Randers-Pehrson
70caa957aa [libpng12] Avoid a possible memory leak in contrib/gregbook/readpng.c 2013-03-01 13:22:10 -06:00
Glenn Randers-Pehrson
dfce99be90 [libpng12] Bump version to 1.2.51beta02 2013-01-22 13:43:43 -06:00
Glenn Randers-Pehrson
1723effdb1 [libpng12] Changed default value of PNG_USER_CACHE_MAX from 0 to 32767
in pngconf.h.
2013-01-22 12:32:11 -06:00
Glenn Randers-Pehrson
aad92d71f6 [libpng12] Changed AM_CONFIG_HEADER(config.h) to AC_CONFIG_HEADERS([config.h])
in configure.ac
2013-01-03 14:11:31 -06:00
Glenn Randers-Pehrson
d2361aee37 [libpng12] Bump version to 1.2.51beta01 2013-01-01 09:45:30 -06:00
Glenn Randers-Pehrson
15c57f2a43 [libpng12] Ignore, with a warning, out-of-range value of num_trans
in png_set_tRNS().
2012-12-10 10:10:08 -06:00
Glenn Randers-Pehrson
f54a50aa4e [libpng12] Imported from libpng-1.2.50.tar 2012-07-10 20:54:07 -05:00
Glenn Randers-Pehrson
78322ccdeb [libpng12] Imported from libpng-1.2.49.tar 2012-03-29 06:30:11 -05:00
Glenn Randers-Pehrson
faa28b6230 [libpng12] Imported from libpng-1.2.48.tar 2012-03-08 07:28:07 -06:00
Glenn Randers-Pehrson
30d32302d0 [libpng12] Imported from libpng-1.2.48rc02.tar 2012-03-02 14:27:25 -06:00
Glenn Randers-Pehrson
d2fe2191db [libpng12] Added libpng license text to pnggccrd.c and pngvcrd.c
(requested by Chrome).
2012-02-28 20:01:15 -06:00
Glenn Randers-Pehrson
e02a92bc01 [libpng12] Removed png_free() of unused png_ptr->current_text from pngread.c. 2012-02-27 08:04:06 -06:00
Glenn Randers-Pehrson
a4b640865a [libpng12] Bump version to 1.2.48beta02 2012-02-26 22:04:32 -06:00
Glenn Randers-Pehrson
d0bd02c4ca [libpng12] Fixed off-by-one bug in png_handle_sCAL() when using fixed point
arithmetic, causing out-of-bounds read in png_set_sCAL() because of failure
to copy the string terminators (Franke Busse).
2012-02-26 20:42:28 -06:00
Glenn Randers-Pehrson
660178760e [libpng12] Eliminated redundant png_push_read_tEXt|zTXt|iTXt|unknown code from
pngpread.c and use the sequential png_handle_tEXt, etc., in pngrutil.c;
    now that png_ptr->buffer is inaccessible to applications, the special
    handling is no longer useful.
2012-02-22 07:02:38 -06:00
Glenn Randers-Pehrson
cba5be8307 [libpng12] Removed two useless #ifdef directives from pngread.c and
one from pngrutil.c
2012-02-19 22:04:56 -06:00
Glenn Randers-Pehrson
e0a2c956be [libpng12] Bump version to 1.2.48beta01 2012-02-19 21:37:11 -06:00
Glenn Randers-Pehrson
4ae1de1114 [libpng12] Imported from libpng-1.2.47.tar 2012-02-18 23:49:33 -06:00
Glenn Randers-Pehrson
e0e4104db4 [libpng12] Imported from libpng-1.2.47rc01.tar 2012-02-18 23:49:30 -06:00
Glenn Randers-Pehrson
808100b1a7 [legacy] Reverted non-portable GNU syntax in makefile (?=, +=) 2011-07-12 06:28:57 -05:00
Glenn Randers-Pehrson
eeb8f748aa [legacy] Updated contrib/pngminus/makefile.std 2011-07-11 18:03:45 -05:00
Glenn Randers-Pehrson
79a5af9263 [legacy] Bump version to libpng-1.2.47beta01 2011-07-10 06:44:40 -05:00
Glenn Randers-Pehrson
f3e8a339e9 [legacy] Imported from libpng-1.2.46.tar 2011-07-09 05:47:26 -05:00
Glenn Randers-Pehrson
3c934137f6 [legacy] Imported from libpng-1.2.46rc02.tar 2011-07-08 18:38:48 -05:00
Glenn Randers-Pehrson
b973ab0914 [legacy] Imported from libpng-1.2.46rc01.tar 2011-07-08 07:11:36 -05:00
Glenn Randers-Pehrson
3341f519f4 [legacy] Imported from libpng-1.2.45.tar 2011-07-07 06:56:45 -05:00
Glenn Randers-Pehrson
91a1807332 [legacy] Imported from libpng-1.2.45rc01.tar 2011-06-30 20:10:54 -05:00
Glenn Randers-Pehrson
e7fd349fd6 [legacy] Imported from libpng-1.2.45beta03.tar 2011-06-19 07:38:14 -05:00
Glenn Randers-Pehrson
e411c66e38 [legacy] Check for sCAL chunk too short. 2011-06-18 14:54:22 -05:00
Glenn Randers-Pehrson
98bdf7d5bb [legacy] Imported from libpng-1.2.45beta03.tar 2011-06-07 19:49:24 -05:00
Glenn Randers-Pehrson
d572394c2a [legacy] Check for integer overflow in png_set_rgb_to_gray(). 2011-06-07 15:56:02 -05:00
Glenn Randers-Pehrson
1883ec49dd [legacy] Ported bugfix in pngrtran.c from 1.5.3: when expanding a paletted
image, always expand to RGBA if transparency is present.
2011-06-07 15:36:54 -05:00
Glenn Randers-Pehrson
d13542a3ee [legacy] Check for up->location !PNG_AFTER_IDAT when writing unknown chunks
before IDAT.
2011-06-07 15:35:48 -05:00
Glenn Randers-Pehrson
950f965bca [legacy] Fixed 1-byte uninitialized memory reference in png_format_buffer()
(Bug report by Frank Busse, related to CVE-2004-0421).

Pass "" instead of '\0' to png_default_error() in png_err().  This mistake
was introduced in libpng-1.2.20beta01.
2011-06-07 15:17:35 -05:00
Glenn Randers-Pehrson
72c637ec63 [legacy] Imported from libpng-1.2.44.tar 2010-06-25 20:28:26 -05:00
Glenn Randers-Pehrson
303d2490a3 [legacy] Imported from libpng-1.2.44rc03.tar 2010-06-25 20:27:51 -05:00
Glenn Randers-Pehrson
47c6e47d1f [legacy] Imported from libpng-1.2.44rc02.tar 2010-06-25 20:27:48 -05:00
Glenn Randers-Pehrson
009516860a [legacy] Imported from libpng-1.2.44rc01.tar 2010-06-25 20:27:45 -05:00
Glenn Randers-Pehrson
e4fc243de4 [legacy] Imported from libpng-1.2.44beta03.tar 2010-06-25 20:27:42 -05:00
Glenn Randers-Pehrson
191fb4f5ba [legacy] Imported from libpng-1.2.44beta02.tar 2010-06-25 20:27:40 -05:00
Glenn Randers-Pehrson
b52da4038d [legacy] Imported from libpng-1.2.44beta01.tar 2010-06-25 20:27:37 -05:00
Glenn Randers-Pehrson
e193ade706 [legacy] Imported from libpng-1.2.43.tar 2010-02-25 05:58:29 -06:00
Glenn Randers-Pehrson
3159d9be71 [legacy] Removed unused gzio.c from contrib/pngminim gather and makefile
scripts.  This is necessary when libz is upgraded to version 1.2.4
2010-02-21 23:14:03 -06:00
Glenn Randers-Pehrson
17e8ca3df0 [legacy] Define _ALL_SOURCE in configure.ac, makefile.aix, and CMakeLists.txt
when using AIX compiler.
2010-02-19 20:01:05 -06:00
Glenn Randers-Pehrson
a89dc3acff [legacy] Define _ALL_SOURCE in pngconf.h when building with AIX compiler.
Otherwise AIX reserves "jmpbuf" and renames it to "__jmpbuf".
2010-02-19 19:46:02 -06:00
Glenn Randers-Pehrson
f0d041aeaf [legacy] Imported from libpng-1.2.43rc01.tar 2010-02-18 07:06:43 -06:00
Glenn Randers-Pehrson
05a22295f2 [legacy] Ported png_decompress_chunk() from libpng-1.4.1 2010-02-12 21:05:33 -06:00
Glenn Randers-Pehrson
8c061f646c [legacy] Imported from libpng-1.2.43beta04.tar 2010-02-08 23:45:49 -06:00
Glenn Randers-Pehrson
cac0408b59 [legacy] Return allocated "old_buffer" in png_push_save_buffer()
before png_error(), to avoid a memory leak.
2010-02-08 07:30:16 -06:00
Glenn Randers-Pehrson
d08f1469cb [previous] Removed PNGAPI declaration of png_calloc() and png_write_sig()
in 1ibpng-1.2.X, introduced by mistake in libpng-1.2.41.
2010-02-08 06:18:54 -06:00
Glenn Randers-Pehrson
fa9633125d [legacy] Imported from libpng-1.2.43beta04.tar 2010-02-07 22:54:43 -06:00
Glenn Randers-Pehrson
6328fc1321 [legacy] Fixed incorrect test in new png_push_save_buffer() code. 2010-02-07 19:56:19 -06:00
Glenn Randers-Pehrson
bc4873c665 [legacy] Imported from libpng-1.2.43beta03.tar 2010-02-07 08:15:08 -06:00
Glenn Randers-Pehrson
eea742c2c5 [legacy] Backported new png_decompress_chunk() algorithm from libpng-1.4.1 2010-02-01 09:28:01 -06:00
Glenn Randers-Pehrson
17020e5076 [legacy] Removed "#ifdef PNG_1_0_X / #endif" around PNG_READ_16_TO_8_SUPPORTED
and PNG_READ_GRAY_TO_RGB_SUPPORTED in pngconf.h.  These were added in
libpng-1.2.41beta08 and libpng-1.0.51, introducing a binary incompatibility
with libpng-1.0.50.
2010-01-14 09:50:54 -06:00
Glenn Randers-Pehrson
0f6cf8332f [legacy] Updated CMakeLists.txt for consistent indentation and to avoid an
unclosed if-statement warning (Philip Lowman).
2010-01-04 10:06:38 -06:00
Glenn Randers-Pehrson
dc393e4162 [legacy] Bump to version 1.2.43beta01 2010-01-03 17:32:42 -06:00
Glenn Randers-Pehrson
115817d118 [master] Imported from libpng-1.2.42.tar 2010-01-02 23:15:22 -06:00
Glenn Randers-Pehrson
a87c870f99 [master] Avoid deprecated references to png_ptr-io_ptr and png_ptr->error_ptr
in pngtest.c
2010-01-01 18:28:50 -06:00
Glenn Randers-Pehrson
b9d671326b [master] Imported from libpng-1.2.42rc04.tar 2010-01-01 10:50:04 -06:00
Glenn Randers-Pehrson
9686172872 [master] Swapped PNG_UNKNOWN_CHUNKS_SUPPORTED and PNG_HANDLE_AS_UNKNOWN_SUPPORTED
in pngset.c to be consistent with other changes in version 1.2.38.
2009-12-25 14:22:08 -06:00
Glenn Randers-Pehrson
9a80a35f4b [master] Imported from libpng-1.2.42rc02.tar 2009-12-23 07:43:15 -06:00
Glenn Randers-Pehrson
4cde19b0c9 [master] Renamed libpng-pc.in back to libpng.pc.in and revised CMakeLists.txt
(revising changes made in 1.2.41beta17 and 1.2.41rc01)
2009-12-22 08:09:39 -06:00
Glenn Randers-Pehrson
230e8b436f [master] Bump to version libpng-1.2.42rc02 2009-12-22 08:07:11 -06:00
Glenn Randers-Pehrson
dbb86efac3 [master] Imported from libpng-1.2.42rc01.tar 2009-12-17 05:53:39 -06:00
Glenn Randers-Pehrson
e8d28e1b1c [master] Bump to version 1.2.42rc01 2009-12-13 07:37:24 -06:00
Glenn Randers-Pehrson
a3a5d0d1f4 [master] Imported from libpng-1.2.42beta02.tar 2009-12-11 17:58:22 -06:00
Glenn Randers-Pehrson
4cf1ca4338 [master] Relocated png_do_chop() to its original position in pngrtran.c
The change in version 1.2.41beta08 caused transparency to be handled wrong
in some 16-bit datastreams (Yusaku Sugai).
2009-12-11 07:29:18 -06:00
Glenn Randers-Pehrson
f174f27096 [master] Removed leftover "-DPNG_CONFIGURE_LIBPNG"
from contrib/pngminim/*/makefile
2009-12-11 07:26:31 -06:00
Glenn Randers-Pehrson
1a15762c59 [master] Bump to version 1.2.42beta02 2009-12-11 07:21:54 -06:00
Glenn Randers-Pehrson
fec6a4ca4e [master] Removed leftover "-DPNG_CONFIGURE_LIBPNG" from scripts/makefile.darwin 2009-12-04 08:26:21 -06:00
Glenn Randers-Pehrson
bcc878bb81 [master] Imported from libpng-1.2.42beta01.tar 2009-12-04 07:16:38 -06:00
Glenn Randers-Pehrson
df61a00acc [master] Revised scripts/makefile.netbsd, makefile.openbsd, and makefile.sco
to put png.h and pngconf.h in $prefix/include, like the other scripts,
    instead of in $prefix/include/libpng.
2009-12-04 06:54:36 -06:00
Glenn Randers-Pehrson
878fea5403 [master] Removed "#define PNG_NO_ERROR_NUMBERS" that was inadvertently added
to pngconf.h in version 1.2.41.
2009-12-04 06:03:57 -06:00
Glenn Randers-Pehrson
804cc98cd1 [master] Bump to version 1.2.42beta01 2009-12-04 06:03:15 -06:00
Glenn Randers-Pehrson
6e00020a9f [master] Imported from libpng-1.2.41.tar 2009-12-02 19:48:27 -06:00
Glenn Randers-Pehrson
2aac9a1fa3 [master] Brought README up to date. 2009-11-27 15:48:31 -06:00
Glenn Randers-Pehrson
5aa8676122 [master] Bump to version 1.2.41rc04 2009-11-27 15:47:49 -06:00
Glenn Randers-Pehrson
ea88d94dcf [master] Imported from libpng-1.2.41rc03.tar 2009-11-25 16:00:51 -06:00
Glenn Randers-Pehrson
de5c932283 [master] Disabled the new pedantic warnings
about deprecated function use and deprecated structure access unless the
user defines PNG_PEDANTIC_WARNINGS.  Added "#define PNG_NO_PEDANTIC_WARNINGS"
in the libpng source files.  Removed "-DPNG_CONFIGURE_LIBPNG" from the
makefiles and projects since the warnings no longer depend on this.
2009-11-25 08:51:04 -06:00
Glenn Randers-Pehrson
a460e00574 [master] Bump to version 1.2.41rc02 2009-11-22 08:31:00 -06:00