diff options
author | Markus Uhlin <markus@nifty-networks.net> | 2024-12-01 08:57:10 +0100 |
---|---|---|
committer | Markus Uhlin <markus@nifty-networks.net> | 2024-12-01 08:57:10 +0100 |
commit | 1572956589b6e071bab07fef06659aa38f2a2185 (patch) | |
tree | c8cdb03f25ad5976183deb6c3f660cf33757d4c7 /FICS/utils.c | |
parent | fbfdb2ced81ddc4c77ed317b642130a8138a2458 (diff) |
mail_file_to_address: initialized buffers
Diffstat (limited to 'FICS/utils.c')
-rw-r--r-- | FICS/utils.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/FICS/utils.c b/FICS/utils.c index 8d5c7cd..eaa2e4d 100644 --- a/FICS/utils.c +++ b/FICS/utils.c @@ -200,8 +200,8 @@ PUBLIC int mail_file_to_address(char *addr, char *subj, char *fname) { FILE *fp1, *fp2; - char com[1000]; - char tmp[MAX_LINE_SIZE]; + char com[1000] = { '\0' }; + char tmp[MAX_LINE_SIZE] = { '\0' }; /* maybe unused */ (void) fp2; |