diff options
author | schmirl <schmirl> | 2009-07-17 06:25:55 +0000 |
---|---|---|
committer | schmirl <schmirl> | 2009-07-17 06:25:55 +0000 |
commit | b099df30117a7327423bf51900cae6bc953f9aee (patch) | |
tree | 98f231d73abbd9500210f7439589f09918ced3be /server/connectionVTP.c | |
parent | 06e1bb7976f78940d8be9412101ef9f51b81c822 (diff) | |
download | vdr-plugin-streamdev-b099df30117a7327423bf51900cae6bc953f9aee.tar.gz vdr-plugin-streamdev-b099df30117a7327423bf51900cae6bc953f9aee.tar.bz2 |
fixed insecure format strings in LSTX handlers (thanks to Anssi Hannula)
Diffstat (limited to 'server/connectionVTP.c')
-rw-r--r-- | server/connectionVTP.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/server/connectionVTP.c b/server/connectionVTP.c index 0412d1f..f66bd45 100644 --- a/server/connectionVTP.c +++ b/server/connectionVTP.c @@ -1,5 +1,5 @@ /* - * $Id: connectionVTP.c,v 1.18 2008/04/07 14:27:30 schmirl Exp $ + * $Id: connectionVTP.c,v 1.18.2.1 2009/07/17 06:25:56 schmirl Exp $ */ #include "server/connectionVTP.h" @@ -157,7 +157,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; @@ -350,7 +350,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; @@ -446,7 +446,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; |