diff options
author | schmirl <schmirl> | 2009-07-17 06:21:23 +0000 |
---|---|---|
committer | schmirl <schmirl> | 2009-07-17 06:21:23 +0000 |
commit | d5fa0a49f868ff97cb5df523df9d3204ca1664df (patch) | |
tree | b1b3648b80eecfe8c1de7f148476d1e07d752f5f /server | |
parent | 8469a4d894c35e96beb8d405ad66dfe2c55e9458 (diff) | |
download | vdr-plugin-streamdev-d5fa0a49f868ff97cb5df523df9d3204ca1664df.tar.gz vdr-plugin-streamdev-d5fa0a49f868ff97cb5df523df9d3204ca1664df.tar.bz2 |
fixed insecure format strings in LSTX handlers
Diffstat (limited to 'server')
-rw-r--r-- | server/connectionVTP.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/server/connectionVTP.c b/server/connectionVTP.c index 6037ecc..c177eaf 100644 --- a/server/connectionVTP.c +++ b/server/connectionVTP.c @@ -1,5 +1,5 @@ /* - * $Id: connectionVTP.c,v 1.22 2009/07/02 06:03:51 schmirl Exp $ + * $Id: connectionVTP.c,v 1.23 2009/07/17 06:21:24 schmirl Exp $ */ #include "server/connectionVTP.h" @@ -215,7 +215,7 @@ bool cLSTEHandler::Next(bool &Last) Last = true; cString str(m_Error, true); m_Error = NULL; - return m_Client->Respond(m_Errno, *str); + return m_Client->Respond(m_Errno, "%s", *str); } Last = false; @@ -429,7 +429,7 @@ bool cLSTCHandler::Next(bool &Last) Last = true; cString str(m_Error, true); m_Error = NULL; - return m_Client->Respond(m_Errno, *str); + return m_Client->Respond(m_Errno, "%s", *str); } int number; @@ -525,7 +525,7 @@ bool cLSTTHandler::Next(bool &Last) Last = true; cString str(m_Error, true); m_Error = NULL; - return m_Client->Respond(m_Errno, *str); + return m_Client->Respond(m_Errno, "%s", *str); } bool result; @@ -626,7 +626,7 @@ bool cLSTRHandler::Next(bool &Last) Last = true; cString str(m_Error, true); m_Error = NULL; - return m_Client->Respond(m_Errno, *str); + return m_Client->Respond(m_Errno, "%s", *str); } if (m_Info) { |