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))
|
||||
{
|
||||
for (const auto& value : leaderboard_progress)
|
||||
ImGui::Text(value.data());
|
||||
ImGui::TextUnformatted(value.c_str());
|
||||
}
|
||||
ImGui::End();
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue