From: simon Date: Mon, 31 Mar 2003 12:57:36 +0000 (+0000) Subject: Trivial segfault fix from Richard B. X-Git-Url: https://git.distorted.org.uk/~mdw/sgt/putty/commitdiff_plain/320cb4be5f2fdb07e0a7ceeb22fa18174bfb6516 Trivial segfault fix from Richard B. git-svn-id: svn://svn.tartarus.org/sgt/putty@3036 cda61777-01e9-0310-a592-d414129be87e --- 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)