From 27f08ac11d241a9b7d45f9ca014dd496514b0719 Mon Sep 17 00:00:00 2001 From: Glenn Randers-Pehrson Date: Sun, 22 Nov 2015 22:59:47 -0600 Subject: [PATCH] [lbpng16] Revert 12 -> 12U change in pngrutil.c --- pngrutil.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pngrutil.c b/pngrutil.c index d54309120..2f6d6ad14 100644 --- a/pngrutil.c +++ b/pngrutil.c @@ -2174,7 +2174,7 @@ png_handle_pCAL(png_structrp png_ptr, png_inforp info_ptr, png_uint_32 length) /* 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_chunk_benign_error(png_ptr, "invalid"); return;