mirror of
https://github.com/FEX-Emu/FEX.git
synced 2024-12-15 01:49:00 +00:00
30e3d795da
Fixes #3691 We weren't checking if the file was empty before using its `at` function member. This was causing an early crash if the config file existed but was empty. Consolidates the three locations that copy and pasted the json allocator tools and adds an empty check for all of them. Also adds two missing checks to the ThunksDB handler that could have resulted in the same crash if ThunksDB was an empty file. |
||
---|---|---|
.. | ||
cpp-optparse@eab4212ae8 | ||
ArgumentLoader.cpp | ||
ArgumentLoader.h | ||
CMakeLists.txt | ||
Config.cpp | ||
Config.h | ||
EnvironmentLoader.cpp | ||
EnvironmentLoader.h | ||
FDUtils.h | ||
FEXServerClient.cpp | ||
FEXServerClient.h | ||
FileFormatCheck.cpp | ||
FileFormatCheck.h | ||
JSONPool.cpp | ||
JSONPool.h | ||
StringUtil.cpp | ||
StringUtil.h |