diff options
| author | 2004-09-11 20:10:05 +0000 | |
|---|---|---|
| committer | 2004-09-11 20:10:05 +0000 | |
| commit | e7f0a0fb7edf96abbddf72eadb490b5eb22447ec (patch) | |
| tree | 67c9bfeadf64d1622e8ed060a55969ddb6452834 /include | |
| parent | Fix to bug #24, stringstream::clear() clears the stream error state not its data (diff) | |
| download | inspircd++-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.h | 4 |
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); } }; |
