From 1017744c942e90e48b3434e4ef34d3d4d208757a Mon Sep 17 00:00:00 2001 From: Glenn Randers-Pehrson Date: Wed, 1 Jun 2016 08:59:48 -0500 Subject: [PATCH] [libpng16] Added missing ")" in pngerror.c (Matt Sarrett). --- ANNOUNCE | 5 +++-- CHANGES | 3 ++- pngerror.c | 2 +- 3 files changed, 6 insertions(+), 4 deletions(-) diff --git a/ANNOUNCE b/ANNOUNCE index d346e41cd..710a014e0 100644 --- a/ANNOUNCE +++ b/ANNOUNCE @@ -1,4 +1,4 @@ -Libpng 1.6.23beta02 - May 31, 2016 +Libpng 1.6.23beta02 - June 1, 2016 This is not intended to be a public release. It will be replaced within a few weeks by a public version or by another test version. @@ -34,11 +34,12 @@ Version 1.6.23beta01 [May 29, 2016] positions. Fixed the sequential reader to handle these more robustly (John Bowler). -Version 1.6.23beta02 [May 31, 2016] +Version 1.6.23beta02 [June 1, 2016] Corrected progressive read input buffer in pngvalid.c. The previous version the code invariably passed just one byte at a time to libpng. The intent was to pass a random number of bytes in the range 0..511. Moved sse2 prototype from pngpriv.h to contrib/intel/intel_sse.patch. + Added missing ")" in pngerror.c (Matt Sarrett). Send comments/corrections/commendations to png-mng-implement at lists.sf.net (subscription required; visit diff --git a/CHANGES b/CHANGES index 7e7d76f39..6c3e75ef7 100644 --- a/CHANGES +++ b/CHANGES @@ -5582,11 +5582,12 @@ Version 1.6.23beta01 [May 29, 2016] positions. Fixed the sequential reader to handle these more robustly (John Bowler). -Version 1.6.23beta02 [May 31, 2016] +Version 1.6.23beta02 [June 1, 2016] Corrected progressive read input buffer in pngvalid.c. The previous version the code invariably passed just one byte at a time to libpng. The intent was to pass a random number of bytes in the range 0..511. Moved sse2 prototype from pngpriv.h to contrib/intel/intel_sse.patch. + Added missing ")" in pngerror.c (Matt Sarrett). Send comments/corrections/commendations to png-mng-implement at lists.sf.net (subscription required; visit diff --git a/pngerror.c b/pngerror.c index 6904bea1a..3fc8092fa 100644 --- a/pngerror.c +++ b/pngerror.c @@ -44,7 +44,7 @@ png_error,(png_const_structrp png_ptr, png_const_charp error_message), if (png_ptr != NULL) { if ((png_ptr->flags & - (PNG_FLAG_STRIP_ERROR_NUMBERS|PNG_FLAG_STRIP_ERROR_TEXT)) != 0 + (PNG_FLAG_STRIP_ERROR_NUMBERS|PNG_FLAG_STRIP_ERROR_TEXT)) != 0) { if (*error_message == PNG_LITERAL_SHARP) {