dolphin/Source/Core
Léo Lam 83b9feff90
Core/Movie: Fix a likely out-of-bounds read for PanicAlertT
gameID isn't null terminated since it is just an std::array<char, 6>
and .data() returns a char* so {fmt} would go way beyond the bounds of
the array when it attempts to determine the length of the string.

The fix is to pass a std::string_view to {fmt}. This commit adds
a GetGameID() function that can also be used to simplify
string comparisons.
2020-11-21 01:30:02 +01:00
..
AudioCommon Merge pull request #9071 from orbea/cmake 2020-10-26 18:48:42 +01:00
Common Common: Assert that translatable strings use positional arguments 2020-11-20 20:24:30 +01:00
Core Core/Movie: Fix a likely out-of-bounds read for PanicAlertT 2020-11-21 01:30:02 +01:00
DiscIO Use positional arguments in all translatable fmt strings 2020-11-16 13:28:11 +01:00
DolphinNoGUI Clean up screen saver inhibition and apply setting change immediately. 2020-10-18 16:31:48 -05:00
DolphinQt Merge pull request #9210 from Dentomologist/regions-show-hide-all 2020-11-20 11:35:22 +01:00
InputCommon Remove a redundant i18n comment 2020-11-17 18:23:27 +01:00
MacUpdater Reformat repo to clang-format 7.0 rules 2019-05-06 18:48:04 +00:00
UICommon Merge pull request #7714 from cristian64/avoid_leaking_gamelistmodel 2020-11-18 02:14:51 +01:00
UpdaterCommon Fix updater not always cleaning up temp directory 2020-11-13 12:25:53 -08:00
VideoBackends Vulkan: fix validation error in bSupportsGeometryShaders=false case 2020-11-20 12:23:34 +01:00
VideoCommon Fix translatable strings which contain non-positional arguments 2020-11-20 20:24:30 +01:00
WinUpdater DolphinQt: Handle non-ASCII characters in Windows cmd arguments 2020-09-21 17:26:29 +02:00
CMakeLists.txt WinUpdater: Add CMakeLists.txt 2019-05-08 23:59:04 +02:00