From 8a8af59d2dbbed442196a7002384e0f197c90a70 Mon Sep 17 00:00:00 2001 From: Markus Uhlin Date: Wed, 1 May 2024 15:28:16 +0200 Subject: Terminate --- FICS/command.c | 1 + 1 file changed, 1 insertion(+) 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; } -- cgit v1.2.3