Check for NULL pointer in file_exists().
svn path=/trunk/; revision=39318
This commit is contained in:
parent
03194fa270
commit
e0c689dc03
@ -1708,6 +1708,10 @@ file_exists(const char *fname)
|
||||
{
|
||||
ws_statb64 file_stat;
|
||||
|
||||
if (!fname) {
|
||||
return FALSE;
|
||||
}
|
||||
|
||||
#ifdef _WIN32
|
||||
/*
|
||||
* This is a bit tricky on win32. The st_ino field is documented as:
|
||||
|
Loading…
x
Reference in New Issue
Block a user