aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMarkus Uhlin <markus@nifty-networks.net>2024-05-01 15:28:16 +0200
committerMarkus Uhlin <markus@nifty-networks.net>2024-05-01 15:28:16 +0200
commit8a8af59d2dbbed442196a7002384e0f197c90a70 (patch)
tree58651c1e2cc72dc02e8e52a4eb99c4244feaa961
parent9792bae80de32224e1eadb233f6d1338ff5ef354 (diff)
Terminate
-rw-r--r--FICS/command.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/FICS/command.c b/FICS/command.c
index db25991..ab6cd27 100644
--- a/FICS/command.c
+++ b/FICS/command.c
@@ -191,6 +191,7 @@ alias_substitute(alias_type *alias_list, int num_alias, char *com_str,
const size_t diff = atpos - aliasval;
if (diff >= size) { // XXX
+ outalias[0] = '\0';
warnx("%s: diff out of bounds!", __func__);
return;
}