forked from enlightenment/efl
* eet: don't open file two small to be valid.
SVN revision: 54491
This commit is contained in:
parent
cc01698872
commit
298fd33a1a
|
@ -1555,8 +1555,7 @@ eet_open(const char *file,
|
|||
goto open_error;
|
||||
}
|
||||
|
||||
if ((mode == EET_FILE_MODE_READ) &&
|
||||
(file_stat.st_size < ((int)sizeof(int) * 3)))
|
||||
if (file_stat.st_size < ((int)sizeof(int) * 3))
|
||||
{
|
||||
fclose(fp);
|
||||
fp = NULL;
|
||||
|
|
Loading…
Reference in New Issue