>From a5fa93ae5d404ba8f411b04b32cea600945c8f6e Mon Sep 17 00:00:00 2001 From: Peter Kasza Date: Fri, 23 Jun 2017 21:48:18 +0200 Subject: [PATCH 3/3] fix segfault when fetching help message for help --- telnet/commands.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/telnet/commands.c b/telnet/commands.c index 8145637..1162756 100644 --- a/telnet/commands.c +++ b/telnet/commands.c @@ -2901,7 +2901,7 @@ static char crmodhelp[] = "deprecated command -- use 'toggle crmod' instead"; static char escapehelp[] = "deprecated command -- use 'set escape' instead"; static Command cmdtab2[] = { - {"help", 0, help, 0}, + {"help", helphelp, help, 0}, {"escape", escapehelp, setescape, 0}, {"crmod", crmodhelp, togcrmod, 0}, {NULL, NULL, NULL, 0} -- 2.13.1