diff options
author | brain <brain@e03df62e-2008-0410-955e-edbf42e46eb7> | 2006-09-25 21:58:32 +0000 |
---|---|---|
committer | brain <brain@e03df62e-2008-0410-955e-edbf42e46eb7> | 2006-09-25 21:58:32 +0000 |
commit | 24dfb05a8681591aaeaf852214c6c268bb40ed3e (patch) | |
tree | 6613c07d9944771f821d1a5e2ff3f4d6e0eb3f5d /src/modules/extra | |
parent | 807af44602e002ef41087131a99fa400d1ca737f (diff) |
Mini security audit
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5333 e03df62e-2008-0410-955e-edbf42e46eb7
Diffstat (limited to 'src/modules/extra')
-rw-r--r-- | src/modules/extra/m_pgsql.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/modules/extra/m_pgsql.cpp b/src/modules/extra/m_pgsql.cpp index ed068fdf1..103c9edfc 100644 --- a/src/modules/extra/m_pgsql.cpp +++ b/src/modules/extra/m_pgsql.cpp @@ -523,7 +523,7 @@ public: sqlsuccess = new char[strlen(SQLSUCCESS)+1]; - strcpy(sqlsuccess, SQLSUCCESS); + strlcpy(sqlsuccess, SQLSUCCESS, strlen(SQLSUCCESS)+1); OnRehash(""); } |