Update DefaultIOSystem.cpp

kimkulling-oss_fuzz29168
Kim Kulling 2021-01-20 08:05:43 +01:00 committed by GitHub
parent ed3e745752
commit f8dd3a9aa6
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -122,7 +122,7 @@ IOStream *DefaultIOSystem::Open(const char *strFile, const char *strMode) {
return nullptr; return nullptr;
} }
file = ::_wfopen(, Utf8ToWide(strMode).c_str()); file = ::_wfopen(name.c_str(), Utf8ToWide(strMode).c_str());
#else #else
file = ::fopen(strFile, strMode); file = ::fopen(strFile, strMode);
#endif #endif