mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-01-26 07:45:33 +01:00
VideoCommon: Fix format string injection vulnerability from leaderboards
This commit is contained in:
parent
c23cfe3c08
commit
c5a030e7ab
@ -389,7 +389,7 @@ void OnScreenUI::DrawChallengesAndLeaderboards()
|
|||||||
ImGuiWindowFlags_AlwaysAutoResize | ImGuiWindowFlags_NoFocusOnAppearing))
|
ImGuiWindowFlags_AlwaysAutoResize | ImGuiWindowFlags_NoFocusOnAppearing))
|
||||||
{
|
{
|
||||||
for (const auto& value : leaderboard_progress)
|
for (const auto& value : leaderboard_progress)
|
||||||
ImGui::Text(value.data());
|
ImGui::TextUnformatted(value.c_str());
|
||||||
}
|
}
|
||||||
ImGui::End();
|
ImGui::End();
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user