bmp patch

SVN revision: 12804
This commit is contained in:
Carsten Haitzler 2005-01-07 00:43:34 +00:00
parent a35eb5981f
commit 7227d27988
1 changed files with 1 additions and 1 deletions

View File

@ -139,7 +139,7 @@ load(ImlibImage * im, ImlibProgressFunction progress,
return 0;
}
if ((w > 8192) || (h > 8192))
if ((w < 1) || (h < 1) || (w > 8192) || (h > 8192))
{
fclose(f);
return 0;