else
resource_info.height_limit=MagickMin(limit,StringToMagickSizeType(
value,100.0));
+ resource_info.height_limit=MagickMin(resource_info.height_limit,
+ SSIZE_MAX);
break;
}
case ListLengthResource:
else
resource_info.width_limit=MagickMin(limit,StringToMagickSizeType(value,
100.0));
+ resource_info.width_limit=MagickMin(resource_info.width_limit,
+ SSIZE_MAX);
break;
}
default:
attributes=(char **) sentinel;
tag=p;
c=(*p);
- if ((isalpha((int) ((unsigned char) *p)) !=0) || (*p == '_') ||
+ if ((isalpha((int) ((unsigned char) *p)) != 0) || (*p == '_') ||
(*p == ':') || (c < '\0'))
{
/*