commit | 3b711ccc4f296d6b46d593ced0269eb20c8d98e0 | [log] [tgz] |
---|---|---|
author | Glenn Randers-Pehrson <glennrp at users.sourceforge.net> | Sun Nov 22 22:58:10 2015 -0600 |
committer | Glenn Randers-Pehrson <glennrp at users.sourceforge.net> | Sun Nov 22 22:58:10 2015 -0600 |
tree | f9d6684fc0be59869980b8ba38510f80517a5975 | |
parent | dabe6c2a2716de695801462d2155e614df373d63 [diff] |
[libpng14] Revert 12 -> 12U change in pngrutil.c
diff --git a/pngrutil.c b/pngrutil.c index 60ac03e..edf11b9 100644 --- a/pngrutil.c +++ b/pngrutil.c
@@ -1772,7 +1772,7 @@ /* We need to have at least 12 bytes after the purpose string in order to get the parameter information. */ - if (slength < 12U || endptr - buf <= 12U) + if (slength < 12U || endptr - buf <= 12) { png_warning(png_ptr, "Invalid pCAL data"); png_free(png_ptr, png_ptr->chunkdata);