From 841f915b32169234a3b1f836ad54eda3e8cccf2d Mon Sep 17 00:00:00 2001 From: dirk Date: Thu, 11 Sep 2014 04:35:42 +0000 Subject: [PATCH] Fixed checking sizes of icon:auto-resize. --- coders/icon.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/coders/icon.c b/coders/icon.c index 6312744a7..94bccc824 100644 --- a/coders/icon.c +++ b/coders/icon.c @@ -183,7 +183,7 @@ Image *AutoResizeImage(const Image *image,const char *option, p++; size=(size_t)strtol(p,&q,10); - if (p == q || size < 16 || size > 255) + if (p == q || size < 16 || size > 256) return((Image *) NULL); p=q; -- 2.40.0