From e7f0a0fb7edf96abbddf72eadb490b5eb22447ec Mon Sep 17 00:00:00 2001 From: brain Date: Sat, 11 Sep 2004 20:10:05 +0000 Subject: Security audit based on RATS output git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@855 e03df62e-2008-0410-955e-edbf42e46eb7 --- include/users.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'include') 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); } }; -- cgit v1.3.1-10-gc9f91