From 320cb4be5f2fdb07e0a7ceeb22fa18174bfb6516 Mon Sep 17 00:00:00 2001 From: simon Date: Mon, 31 Mar 2003 12:57:36 +0000 Subject: [PATCH] Trivial segfault fix from Richard B. git-svn-id: svn://svn.tartarus.org/sgt/putty@3036 cda61777-01e9-0310-a592-d414129be87e --- 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) -- 2.11.0