mirror of
https://github.com/izzy2lost/dolphin.git
synced 2026-06-19 01:16:48 -07: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))
|
||||
{
|
||||
for (const auto& value : leaderboard_progress)
|
||||
ImGui::Text(value.data());
|
||||
ImGui::TextUnformatted(value.c_str());
|
||||
}
|
||||
ImGui::End();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user