commit | 3ccfba8c283a7c9fcc1de87a879f4bb6d11a4075 | [log] [tgz] |
---|---|---|
author | Glenn Randers-Pehrson <glennrp at users.sourceforge.net> | Sun Nov 22 22:59:16 2015 -0600 |
committer | Glenn Randers-Pehrson <glennrp at users.sourceforge.net> | Sun Nov 22 22:59:16 2015 -0600 |
tree | 8118b5cef5e77af0b7796083c58d4e8acbdc278e | |
parent | 596f052d693e9d634d633d020767876ff63e3220 [diff] |
[lbpng15] Revert 12 -> 12U change in pngrutil.c
diff --git a/pngrutil.c b/pngrutil.c index 632425b..de03e8c 100644 --- a/pngrutil.c +++ b/pngrutil.c
@@ -2006,7 +2006,7 @@ /* We need to have at least 12 bytes after the purpose string * in order to get the parameter information. */ - if (endptr - buf <= 12U) + if (endptr - buf <= 12) { png_warning(png_ptr, "Invalid pCAL data"); png_free(png_ptr, png_ptr->chunkdata);