aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorGravatar brain2004-09-11 20:10:05 +0000
committerGravatar brain2004-09-11 20:10:05 +0000
commite7f0a0fb7edf96abbddf72eadb490b5eb22447ec (patch)
tree67c9bfeadf64d1622e8ed060a55969ddb6452834 /include
parentFix to bug #24, stringstream::clear() clears the stream error state not its data (diff)
downloadinspircd++-e7f0a0fb7edf96abbddf72eadb490b5eb22447ec.tar.gz
inspircd++-e7f0a0fb7edf96abbddf72eadb490b5eb22447ec.tar.bz2
inspircd++-e7f0a0fb7edf96abbddf72eadb490b5eb22447ec.zip
Security audit based on RATS output
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@855 e03df62e-2008-0410-955e-edbf42e46eb7
Diffstat (limited to 'include')
-rw-r--r--include/users.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/users.h b/include/users.h
index 7b1e7ccc4..e14637d06 100644
--- a/include/users.h
+++ b/include/users.h
@@ -65,8 +65,8 @@ class ConnectClass : public classbase
{
registration_timeout = 0;
flood = 0;
- strcpy(host,"");
- strcpy(pass,"");
+ strlcpy(host,"",MAXBUF);
+ strlcpy(pass,"",MAXBUF);
}
};