[SCM] kodi-pvr-hts/master: fix crash when logging certain strings by properly using format strings in the log implementation
tiber-guest at users.alioth.debian.org
tiber-guest at users.alioth.debian.org
Wed Mar 2 23:01:55 UTC 2016
The following commit has been merged in the master branch:
commit 04452f32d8cfbb45da35d7056cfa03b703ce81cb
Author: Sam Stenvall <sam.stenvall at nordsoftware.com>
Date: Thu Jan 7 15:56:53 2016 +0200
fix crash when logging certain strings by properly using format
strings in the log implementation
diff --git a/src/client.cpp b/src/client.cpp
index de66152..6d855f4 100644
--- a/src/client.cpp
+++ b/src/client.cpp
@@ -105,7 +105,7 @@ ADDON_STATUS ADDON_Create(void* hdl, void* _unused(props))
if (level == LogLevel::TRACE && !Settings::GetInstance().GetTraceDebug())
return;
- XBMC->Log(addonLevel, message);
+ XBMC->Log(addonLevel, "%s", message);
});
Logger::GetInstance().SetPrefix("pvr.hts");
--
kodi-pvr-hts packaging
More information about the pkg-multimedia-commits
mailing list