about summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--src/ngircd/conf.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ngircd/conf.c b/src/ngircd/conf.c
index b0911373..923cdc02 100644
--- a/src/ngircd/conf.c
+++ b/src/ngircd/conf.c
@@ -653,7 +653,7 @@ static void
 Set_Defaults(bool InitServers)
 {
 	int i;
-	char random[RANDOM_SALT_LEN];
+	char random[RANDOM_SALT_LEN + 1];
 
 	/* Global */
 	strcpy(Conf_ServerName, "");