VideoCommon: Fix format string injection vulnerability from leaderboards

This commit is contained in:
Admiral H. Curtiss 2024-06-15 23:12:12 +02:00
parent c23cfe3c08
commit c5a030e7ab
No known key found for this signature in database
GPG Key ID: F051B4C4044F33FB
1 changed files with 1 additions and 1 deletions

View File

@ -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();
}