From ec6d5edb62c4bbf1f351e9a97a9f02df99517cea Mon Sep 17 00:00:00 2001 From: Simon Tatham Date: Mon, 31 Mar 2003 12:57:36 +0000 Subject: [PATCH] Trivial segfault fix from Richard B. [originally from svn r3036] --- unix/uxputty.c | 1 + 1 file changed, 1 insertion(+) diff --git a/unix/uxputty.c b/unix/uxputty.c index 8cd6603f..dcfbd200 100644 --- a/unix/uxputty.c +++ b/unix/uxputty.c @@ -174,6 +174,7 @@ int process_nonoption_arg(char *arg, Config *cfg) /* * Otherwise, treat this argument as a host name. */ + p = arg; while (*p && !isspace((unsigned char)*p)) p++; if (*p)