summaryrefslogtreecommitdiff
path: root/src/inspircd_io.cpp
diff options
context:
space:
mode:
authorbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2004-09-11 20:29:22 +0000
committerbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2004-09-11 20:29:22 +0000
commit236d23e6540b437a77546410c8740d337e56db02 (patch)
treee72eefa354f9a38fd469dec734d5bb6afcd948d3 /src/inspircd_io.cpp
parente7f0a0fb7edf96abbddf72eadb490b5eb22447ec (diff)
Changes for security based on RATS analysis
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@856 e03df62e-2008-0410-955e-edbf42e46eb7
Diffstat (limited to 'src/inspircd_io.cpp')
-rw-r--r--src/inspircd_io.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/inspircd_io.cpp b/src/inspircd_io.cpp
index 9f96c463e..27473cfe6 100644
--- a/src/inspircd_io.cpp
+++ b/src/inspircd_io.cpp
@@ -62,7 +62,7 @@ void Start (void)
{
printf("\033[1;37mInspire Internet Relay Chat Server, compiled " __DATE__ " at " __TIME__ "\n");
printf("(C) ChatSpike Development team.\033[0;37m\n\n");
- printf("\033[1;37mDevelopers:\033[0;37m Brain, FrostyCoolSlug, RD\n");
+ printf("\033[1;37mDevelopers:\033[0;37m Brain, FrostyCoolSlug\n");
printf("\033[1;37mDocumentation:\033[0;37m FrostyCoolSlug, w00t\n");
printf("\033[1;37mTesters:\033[0;37m typobox43, piggles, Lord_Zathras, CC\n");
printf("\033[1;37mName concept:\033[0;37m Lord_Zathras\n\n");
@@ -400,7 +400,7 @@ int ReadConf(std::stringstream *config, const char* tag, const char* var, int in
key[j] = '\0';
}
}
- strcpy(result,key);
+ strlcpy(result,key,MAXBUF);
return 1;
}
}