Commit Diff


commit - 149e08fff9f4a43fdb9679bff7b8dc4593c38f06
commit + edbdcfb24c5e534e79ff5261db1064ab5676e67e
blob - c26f547435bdb8bd86d197ee2e3488f687a0a69c
blob + 5544d9f0a626603f0af97bf23f7e3c0a843948e6
--- FICS/lists.c
+++ FICS/lists.c
@@ -79,8 +79,8 @@ list_find(int p, enum ListWhich l)
 		return NULL;
 	if (!personal) { // now we have to load the list
 		FILE	*fp;
-		char	 filename[MAX_FILENAME_SIZE];
-		char	 listmember[100];
+		char	 filename[MAX_FILENAME_SIZE] = { '\0' };
+		char	 listmember[100] = { '\0' };
 
 		sprintf(filename, "%s/%s", lists_dir, ListArray[l].name);
 
@@ -362,7 +362,7 @@ list_addsub(int p, char *list, char *who, int addsub)
 
 	if (!personal) {
 		FILE	*fp;
-		char	 filename[MAX_FILENAME_SIZE];
+		char	 filename[MAX_FILENAME_SIZE] = { '\0' };
 
 		switch (gl->which) {
 		case L_MUZZLE: