From 18043ec204e80b232f225c9b15b15f91cae99619 Mon Sep 17 00:00:00 2001 From: max_10 Date: Mon, 20 Dec 2021 16:23:02 +0100 Subject: [PATCH] - upnpbrowser: fix possible format-truncation error --- src/gui/upnpbrowser.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/gui/upnpbrowser.cpp b/src/gui/upnpbrowser.cpp index a00782642..013f6fe03 100644 --- a/src/gui/upnpbrowser.cpp +++ b/src/gui/upnpbrowser.cpp @@ -1365,7 +1365,7 @@ void CUpnpBrowserGui::updateTimes(const bool force) } //printf("updateTimes: force %d updatePlayed %d\n", force, updatePlayed); - char play_time[14]; + char play_time[24]; snprintf(play_time, sizeof(play_time), "%ld:%02ld", m_time_played / 60, m_time_played % 60); if (updatePlayed)