mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-24 14:49:42 -06:00
VideoCommon: Fix format string injection vulnerability from leaderboards
This commit is contained in:
@ -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();
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user