John Bowler 
							
						 
					 
					
						
						
						
						
							
						
						
							c3e7e7d715 
							
						 
					 
					
						
						
							
							[libpng16] tests backported from libpng 1.7  
						
						... 
						
						
						
						This updates libpng16 with all the test changes from libpng17,
including changes to pngvalid.c to ensure that the original,
distributed, version of contrib/visupng/cexcept.h can be used.
pngvalid contains the correction to the use of SAVE/STORE_
UNKNOWN_CHUNKS; a bug revealed by changes in libpng 1.7.  More
tests contain the --strict option to detect warnings and the
pngvalid-standard test has been corrected so that it does not
turn on progresive-read (there is a separate test which does
that.)
Some signed/unsigned fixes have been made.
Signed-off-by: John Bowler <jbowler@acm.org> 
						
						
							
						
					 
					
						2015-09-15 15:38:52 -07:00 
						 
				 
			
				
					
						
							
							
								Glenn Randers-Pehrson 
							
						 
					 
					
						
						
						
						
							
						
						
							1e16e8829d 
							
						 
					 
					
						
						
							
							[libpng16] Fix typo (extra "*/") in contrib/libtests/fakepng.c  
						
						
						
						
							
						
					 
					
						2015-09-15 17:07:34 -05:00 
						 
				 
			
				
					
						
							
							
								John Bowler 
							
						 
					 
					
						
						
						
						
							
						
						
							33a97c5c8a 
							
						 
					 
					
						
						
							
							[libpng16] Fixed png_save_int_32 when int is not 2's complement (John Bowler).  
						
						
						
						
							
						
					 
					
						2015-08-21 14:42:00 -05:00 
						 
				 
			
				
					
						
							
							
								Glenn Randers-Pehrson 
							
						 
					 
					
						
						
						
						
							
						
						
							39be3b81da 
							
						 
					 
					
						
						
							
							[libpng16] Bump version to 1.6.19beta03  
						
						
						
						
							
						
					 
					
						2015-08-19 12:58:26 -05:00 
						 
				 
			
				
					
						
							
							
								Glenn Randers-Pehrson 
							
						 
					 
					
						
						
						
						
							
						
						
							4c02a5930a 
							
						 
					 
					
						
						
							
							[libpng16] Imported from libpng-1.6.19beta02.tar  
						
						
						
						
							
 
						
					 
					
						2015-08-19 12:58:14 -05:00 
						 
				 
			
				
					
						
							
							
								John Bowler 
							
						 
					 
					
						
						
						
						
							
						
						
							2d62f7406f 
							
						 
					 
					
						
						
							
							[libpng16] Fixed the recently reported 1's complement security issue by  
						
						... 
						
						
						
						replacing the value that is illegal in the PNG spec, in both signed and
unsigned values, with 0. Illegal unsigned values (anything greater than or equal
to  0x80000000) can still pass through, but since these are not illegal
in ANSI-C (unlike 0x80000000 in the signed case) the checking that
occurs later can catch them (John Bowler). 
						
						
							
						
					 
					
						2015-08-19 12:56:48 -05:00 
						 
				 
			
				
					
						
							
							
								Glenn Randers-Pehrson 
							
						 
					 
					
						
						
						
						
							
						
						
							6530e3898d 
							
						 
					 
					
						
						
							
							[libpng16] Restored previous handling of negative input to png_set_sig_bytes().  
						
						
						
						
							
						
					 
					
						2015-08-17 21:56:03 -05:00 
						 
				 
			
				
					
						
							
							
								Glenn Randers-Pehrson 
							
						 
					 
					
						
						
						
						
							
						
						
							5a26171dd7 
							
						 
					 
					
						
						
							
							[libpng16] Mention the change in png_set_sig_bytes() behavior in the man page.  
						
						
						
						
							
						
					 
					
						2015-08-17 21:39:22 -05:00 
						 
				 
			
				
					
						
							
							
								Robert C. Seacord 
							
						 
					 
					
						
						
						
						
							
						
						
							167b5e4c27 
							
						 
					 
					
						
						
							
							[libpng16] Safely convert num_bytes to a png_byte in png_set_sig_bytes()  
						
						
						
						
							
						
					 
					
						2015-08-17 21:20:34 -05:00 
						 
				 
			
				
					
						
							
							
								Glenn Randers-Pehrson 
							
						 
					 
					
						
						
						
						
							
						
						
							a8242fe6fb 
							
						 
					 
					
						
						
							
							[libng16] Reverted recent mistaken change of 0xnnnn to 0xnnnnUL  
						
						
						
						
							
						
					 
					
						2015-08-17 20:46:27 -05:00 
						 
				 
			
				
					
						
							
							
								Glenn Randers-Pehrson 
							
						 
					 
					
						
						
						
						
							
						
						
							15e69748f1 
							
						 
					 
					
						
						
							
							[libpng16] Removed new unnecessary typecast in pngrutil.c  
						
						
						
						
							
						
					 
					
						2015-08-17 12:52:56 -05:00 
						 
				 
			
				
					
						
							
							
								Glenn Randers-Pehrson 
							
						 
					 
					
						
						
						
						
							
						
						
							268c7bf68b 
							
						 
					 
					
						
						
							
							[libpng16] Use unsigned hex constants in "reciprocal" computations  
						
						
						
						
							
						
					 
					
						2015-08-17 12:40:19 -05:00 
						 
				 
			
				
					
						
							
							
								Glenn Randers-Pehrson 
							
						 
					 
					
						
						
						
						
							
						
						
							d8b93c29a7 
							
						 
					 
					
						
						
							
							[libpng16] Appended more "UL" to hex constants.  
						
						
						
						
							
						
					 
					
						2015-08-17 10:56:17 -05:00 
						 
				 
			
				
					
						
							
							
								Glenn Randers-Pehrson 
							
						 
					 
					
						
						
						
						
							
						
						
							b9ba8d6a57 
							
						 
					 
					
						
						
							
							[libpng16] Mention in manual that 16-bit platform support has been dropped.  
						
						
						
						
							
						
					 
					
						2015-08-16 23:32:04 -05:00 
						 
				 
			
				
					
						
							
							
								John Bowler 
							
						 
					 
					
						
						
						
						
							
						
						
							751cee5ef1 
							
						 
					 
					
						
						
							
							[libpng16] Added signed/unsigned 16-bit safety net. This removes the dubious  
						
						... 
						
						
						
						0x8000 flag definitions on 16-bit systems. They aren't supported
yet the defs *probably* work, however it seems much safer to do this
and be advised if anyone, contrary to advice, is building libpng 1.6
on a 16-bit system. It also adds back various switch default clauses
for GCC; GCC errors out if they are not present (with an appropriately
high level of warnings). 
						
						
							
						
					 
					
						2015-08-16 22:54:21 -05:00 
						 
				 
			
				
					
						
							
							
								Glenn Randers-Pehrson 
							
						 
					 
					
						
						
						
						
							
						
						
							8ba4b13c55 
							
						 
					 
					
						
						
							
							[libpng16] Changed 0xnnnn constants to 0xnnnnUL.  
						
						
						
						
							
						
					 
					
						2015-08-16 22:49:58 -05:00 
						 
				 
			
				
					
						
							
							
								Glenn Randers-Pehrson 
							
						 
					 
					
						
						
						
						
							
						
						
							8b83ff3704 
							
						 
					 
					
						
						
							
							[libpng16] Change "n bit" to "n-bit" in comments.  
						
						
						
						
							
						
					 
					
						2015-08-13 20:57:18 -05:00 
						 
				 
			
				
					
						
							
							
								Glenn Randers-Pehrson 
							
						 
					 
					
						
						
						
						
							
						
						
							a472858297 
							
						 
					 
					
						
						
							
							[libpng16] Fix links in man page  
						
						
						
						
							
						
					 
					
						2015-08-11 15:34:08 -05:00 
						 
				 
			
				
					
						
							
							
								Glenn Randers-Pehrson 
							
						 
					 
					
						
						
						
						
							
						
						
							682f4ba2d5 
							
						 
					 
					
						
						
							
							[libpng16] Fix links in man page  
						
						
						
						
							
						
					 
					
						2015-08-11 13:04:01 -05:00 
						 
				 
			
				
					
						
							
							
								Glenn Randers-Pehrson 
							
						 
					 
					
						
						
						
						
							
						
						
							656720fb42 
							
						 
					 
					
						
						
							
							[libpng16] Fixed dead link in man page  
						
						
						
						
							
						
					 
					
						2015-08-11 12:12:46 -05:00 
						 
				 
			
				
					
						
							
							
								Glenn Randers-Pehrson 
							
						 
					 
					
						
						
						
						
							
						
						
							fd8ef4c428 
							
						 
					 
					
						
						
							
							[libpng16] Add #ifdef PNG_DEBUG/#endif around normally unreachable code  
						
						... 
						
						
						
						in pngread.c 
						
						
							
						
					 
					
						2015-08-07 14:43:34 -05:00 
						 
				 
			
				
					
						
							
							
								Victor Szakats 
							
						 
					 
					
						
						
						
						
							
						
						
							4e1d299e6b 
							
						 
					 
					
						
						
							
							[libpng16] Removed unreachable "break" statements in png.c, pngread.c, and  
						
						... 
						
						
						
						pngrtran.c to suppress clang warnings (Bug report by Viktor Szakats). 
						
						
							
						
					 
					
						2015-08-07 14:31:11 -05:00 
						 
				 
			
				
					
						
							
							
								Glenn Randers-Pehrson 
							
						 
					 
					
						
						
						
						
							
						
						
							0e9cd91609 
							
						 
					 
					
						
						
							
							[libpng16] Moved config.h.in~ from the "libpng_autotools_files" list to the  
						
						... 
						
						
						
						"libpng_autotools_extra" list in autogen.sh because it was causing a
false positive for missing files (bug report by Robert C. Seacord). 
						
						
							
						
					 
					
						2015-08-02 21:51:11 -05:00 
						 
				 
			
				
					
						
							
							
								Glenn Randers-Pehrson 
							
						 
					 
					
						
						
						
						
							
						
						
							52d159a784 
							
						 
					 
					
						
						
							
							[libpng16] Bump version to 1.6.19beta02  
						
						
						
						
							
						
					 
					
						2015-07-30 11:24:53 -05:00 
						 
				 
			
				
					
						
							
							
								Glenn Randers-Pehrson 
							
						 
					 
					
						
						
						
						
							
						
						
							67806d44c1 
							
						 
					 
					
						
						
							
							[libpng16] Imported from libpng-1.6.19beta01.tar  
						
						
						
						
							
 
						
					 
					
						2015-07-30 11:18:15 -05:00 
						 
				 
			
				
					
						
							
							
								Glenn Randers-Pehrson 
							
						 
					 
					
						
						
						
						
							
						
						
							8510247b5f 
							
						 
					 
					
						
						
							
							[libpng16] Fixed uninitialized variable in contrib/gregbook/rpng2-x.c and  
						
						... 
						
						
						
						fixed potential leak of png_pixels in contrib/pngminus/pnm2png.c 
						
						
							
						
					 
					
						2015-07-30 11:16:29 -05:00 
						 
				 
			
				
					
						
							
							
								Glenn Randers-Pehrson 
							
						 
					 
					
						
						
						
						
							
						
						
							77becc566f 
							
						 
					 
					
						
						
							
							[libpng16] Suppressed warnings from the Borland C++ 5.5.1/5.82 compiler in png.c  
						
						
						
						
							
						
					 
					
						2015-07-29 08:01:12 -05:00 
						 
				 
			
				
					
						
							
							
								Glenn Randers-Pehrson 
							
						 
					 
					
						
						
						
						
							
						
						
							e1b505cd1d 
							
						 
					 
					
						
						
							
							[libpng16]Suppressed a warning from the Borland C++ 5.5.1/5.82 compiler  
						
						
						
						
							
						
					 
					
						2015-07-29 07:42:19 -05:00 
						 
				 
			
				
					
						
							
							
								Glenn Randers-Pehrson 
							
						 
					 
					
						
						
						
						
							
						
						
							e485a09e0e 
							
						 
					 
					
						
						
							
							[libpng16] Suppressed some warnings from the Borland C++ 5.5.1/5.82 compiler  
						
						... 
						
						
						
						(Bug report by Viktor Szaka'ts).  Several warnings remain and are
unavoidable, where we test for overflow. 
						
						
							
						
					 
					
						2015-07-29 07:29:17 -05:00 
						 
				 
			
				
					
						
							
							
								Glenn Randers-Pehrson 
							
						 
					 
					
						
						
						
						
							
						
						
							1fa62ae734 
							
						 
					 
					
						
						
							
							[libpng16] Rearranged png.h to put the major sections in the same order as  
						
						... 
						
						
						
						in libpng17. 
						
						
							
						
					 
					
						2015-07-25 20:50:21 -05:00 
						 
				 
			
				
					
						
							
							
								Glenn Randers-Pehrson 
							
						 
					 
					
						
						
						
						
							
						
						
							262c396666 
							
						 
					 
					
						
						
							
							[libpng16] More edits to libpng.3 and libpng-manual.txt  
						
						
						
						
							
						
					 
					
						2015-07-25 08:30:12 -05:00 
						 
				 
			
				
					
						
							
							
								Glenn Randers-Pehrson 
							
						 
					 
					
						
						
						
						
							
						
						
							59a82b40b0 
							
						 
					 
					
						
						
							
							[libpng16] Avoid potentially dereferencing NULL info_ptr in png_info_init_3().  
						
						
						
						
							
						
					 
					
						2015-07-25 08:03:05 -05:00 
						 
				 
			
				
					
						
							
							
								Glenn Randers-Pehrson 
							
						 
					 
					
						
						
						
						
							
						
						
							e10b7e73db 
							
						 
					 
					
						
						
							
							[libpng16] Updated obsolete information about the simplified API macros in the  
						
						... 
						
						
						
						manual pages (Bug report by Arc Riley). 
						
						
							
						
					 
					
						2015-07-25 08:01:34 -05:00 
						 
				 
			
				
					
						
							
							
								Glenn Randers-Pehrson 
							
						 
					 
					
						
						
						
						
							
						
						
							476250ebd2 
							
						 
					 
					
						
						
							
							[libpng16] Bump version to 1.6.19beta01  
						
						
						
						
							
						
					 
					
						2015-07-23 20:20:53 -05:00 
						 
				 
			
				
					
						
							
							
								Glenn Randers-Pehrson 
							
						 
					 
					
						
						
						
						
							
						
						
							e6172809bd 
							
						 
					 
					
						
						
							
							[libpng16] Imported from libpng-1.6.18.tar  
						
						
						
						
							
 
 
						
					 
					
						2015-07-22 22:40:52 -05:00 
						 
				 
			
				
					
						
							
							
								Glenn Randers-Pehrson 
							
						 
					 
					
						
						
						
						
							
						
						
							db8704e1f4 
							
						 
					 
					
						
						
							
							[libpng16] Imported from libpng-1.6.18rc03.tar  
						
						
						
						
							
 
						
					 
					
						2015-07-15 21:24:11 -05:00 
						 
				 
			
				
					
						
							
							
								Glenn Randers-Pehrson 
							
						 
					 
					
						
						
						
						
							
						
						
							1a73305ac2 
							
						 
					 
					
						
						
							
							[libpng16] Removed WEIGHTED_FILTER info from the man page.  
						
						
						
						
							
						
					 
					
						2015-07-13 14:53:27 -05:00 
						 
				 
			
				
					
						
							
							
								Glenn Randers-Pehrson 
							
						 
					 
					
						
						
						
						
							
						
						
							285a9b22c7 
							
						 
					 
					
						
						
							
							[libpng16] Bump version to 1.6.18rc03  
						
						
						
						
							
						
					 
					
						2015-07-13 08:31:05 -05:00 
						 
				 
			
				
					
						
							
							
								Glenn Randers-Pehrson 
							
						 
					 
					
						
						
						
						
							
						
						
							be55943d45 
							
						 
					 
					
						
						
							
							[libpng16] Imported from libpng-1.6.18rc02.tar  
						
						
						
						
							
 
						
					 
					
						2015-07-13 07:09:33 -05:00 
						 
				 
			
				
					
						
							
							
								Glenn Randers-Pehrson 
							
						 
					 
					
						
						
						
						
							
						
						
							e0874e1934 
							
						 
					 
					
						
						
							
							[libpng16] Restored unused WEIGHTED_FILTER macros removed at libpng-1.6.18beta08  
						
						... 
						
						
						
						to png.h to avoid compatibility warnings. 
						
						
							
						
					 
					
						2015-07-13 07:08:15 -05:00 
						 
				 
			
				
					
						
							
							
								Glenn Randers-Pehrson 
							
						 
					 
					
						
						
						
						
							
						
						
							4cb6607c89 
							
						 
					 
					
						
						
							
							[libpng16] Imported from libpng-1.6.18rc01.tar  
						
						
						
						
							
 
						
					 
					
						2015-07-09 11:14:03 -05:00 
						 
				 
			
				
					
						
							
							
								Glenn Randers-Pehrson 
							
						 
					 
					
						
						
						
						
							
						
						
							751eb368a8 
							
						 
					 
					
						
						
							
							[libpng16] Added Mans Rullgard and James Yu to the list of Contributing Authors  
						
						
						
						
							
						
					 
					
						2015-07-09 11:11:49 -05:00 
						 
				 
			
				
					
						
							
							
								Glenn Randers-Pehrson 
							
						 
					 
					
						
						
						
						
							
						
						
							f7654a0c61 
							
						 
					 
					
						
						
							
							[libpng16] Fixed new typo in LICENSE  
						
						
						
						
							
						
					 
					
						2015-07-04 20:58:24 -05:00 
						 
				 
			
				
					
						
							
							
								Glenn Randers-Pehrson 
							
						 
					 
					
						
						
						
						
							
						
						
							d78eb10f29 
							
						 
					 
					
						
						
							
							[libpng16] Bump version to 1.6.18beta10  
						
						
						
						
							
						
					 
					
						2015-07-04 20:43:09 -05:00 
						 
				 
			
				
					
						
							
							
								Glenn Randers-Pehrson 
							
						 
					 
					
						
						
						
						
							
						
						
							d2a35c6088 
							
						 
					 
					
						
						
							
							[libpng16] Imported from libpng-1.6.18beta09.tar  
						
						
						
						
							
 
						
					 
					
						2015-07-04 20:42:56 -05:00 
						 
				 
			
				
					
						
							
							
								Glenn Randers-Pehrson 
							
						 
					 
					
						
						
						
						
							
						
						
							b9e5e5f5a8 
							
						 
					 
					
						
						
							
							[libpng16] Replaced arbitrary use of 'extern' with #define PNG_LINKAGE_*.  To  
						
						... 
						
						
						
						preserve API compatibility, the new defines all default to "extern"
(requested by Jan Nijtmans). 
						
						
							
						
					 
					
						2015-07-03 16:07:54 -05:00 
						 
				 
			
				
					
						
							
							
								Glenn Randers-Pehrson 
							
						 
					 
					
						
						
						
						
							
						
						
							a390897ba4 
							
						 
					 
					
						
						
							
							[libpng16] Fixed a new signed-unsigned comparison in pngrtran.c (Max Stepin).  
						
						... 
						
						
						
						Removed some useless typecasts from contrib/tools/png-fix-itxt.c 
						
						
							
						
					 
					
						2015-07-01 14:06:39 -05:00 
						 
				 
			
				
					
						
							
							
								Glenn Randers-Pehrson 
							
						 
					 
					
						
						
						
						
							
						
						
							4e5ac72254 
							
						 
					 
					
						
						
							
							[libpng16] Bump version to 1.6.18beta09  
						
						
						
						
							
						
					 
					
						2015-06-30 10:54:55 -05:00 
						 
				 
			
				
					
						
							
							
								Glenn Randers-Pehrson 
							
						 
					 
					
						
						
						
						
							
						
						
							9d4ea3014b 
							
						 
					 
					
						
						
							
							[libpng16] Imported from libpng-1.6.18beta08.tar  
						
						
						
						
							
 
						
					 
					
						2015-06-30 10:54:44 -05:00 
						 
				 
			
				
					
						
							
							
								Glenn Randers-Pehrson 
							
						 
					 
					
						
						
						
						
							
						
						
							f86720c6c0 
							
						 
					 
					
						
						
							
							[libpng16] Fix some indentation.  
						
						
						
						
							
						
					 
					
						2015-06-11 22:00:14 -05:00